fix: syntax in subtask deploy script
All checks were successful
Deploy eolas-api / deploy (push) Successful in 20s

This commit is contained in:
Thomas Bishop 2025-10-08 19:17:13 +01:00
parent bb49bac558
commit d3b02757c3

View file

@ -97,7 +97,7 @@ jobs:
\"body\": \"$commit_msg\"
}"
- name: Deploy to VPS
- run: |
run: |
echo "${{ secrets.VPS_DEPLOY_USER_SSH_KEY }}" > /tmp/ssh_key
chmod 600 /tmp/ssh_key
ssh -i /tmp/ssh_key -o StrictHostKeyChecking=no ${{ vars.VPS_DEPLOY_USER }} "bash -c 'cd /var/www/eolas-api && rm -rf * .[^.]*'"