fix: syntax in subtask deploy script

This commit is contained in:
Thomas Bishop 2025-10-08 19:17:13 +01:00 committed by forgejo-actions[bot]
parent bb49bac558
commit 9f449ba49a
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -1,6 +1,6 @@
{ {
"name": "eolas-api", "name": "eolas-api",
"version": "0.2.0", "version": "0.2.1",
"description": "API for querying eolas-db, my Zettelkasten database", "description": "API for querying eolas-db, my Zettelkasten database",
"license": "ISC", "license": "ISC",
"author": "Thomas Bishop", "author": "Thomas Bishop",