Fix build
This commit is contained in:
@@ -11,7 +11,6 @@ jobs:
|
||||
SSH_HOST: ${{ secrets.SSH_HOST }}
|
||||
SSH_USER: ${{ secrets.SSH_USER }}
|
||||
SSH_KEY_PATH: /home/gitea-runner/.ssh/deploy_stellaamor
|
||||
SSH_OPTS: "-o ServerAliveInterval=15 -o ServerAliveCountMax=3 -o ConnectTimeout=20 -o StrictHostKeyChecking=no"
|
||||
APP_ROOT: /var/www/stellaamor
|
||||
UPLOADS_DIR: uploads
|
||||
KEEP_N: "5"
|
||||
@@ -35,9 +34,10 @@ jobs:
|
||||
install -m 700 -d ~/.ssh
|
||||
umask 177
|
||||
cat > ~/.ssh/deploy_stellaamor <<'KEY'
|
||||
${{ secrets.SSH_KEY_STELLAAMOR }}
|
||||
KEY
|
||||
chmod 600 ~/.ssh/deploy_stellaamor
|
||||
${{ secrets.SSH_KEY_STELLAAMOR }}
|
||||
KEY
|
||||
chmod 600 ~/.ssh/deploy_stellaamor
|
||||
|
||||
|
||||
- name: SSH smoke test
|
||||
run: ssh $SSH_OPTS -i "$SSH_KEY_PATH" ${SSH_USER}@${SSH_HOST} true
|
||||
|
||||
Reference in New Issue
Block a user