fix: syntax error deploy workflow
Some checks failed
Deploy Blog / deploy (push) Failing after 1m7s

This commit is contained in:
Thomas Bishop 2025-07-10 14:47:59 +01:00
parent 4291464e49
commit 5d21299d65

View file

@ -11,8 +11,7 @@ jobs:
- run: npm install - run: npm install
- run: npm run build:posts - run: npm run build:posts
- run: npm run build - run: npm run build
run: | - run: |
echo "test content" > test.txt
echo "${{ secrets.SSH_FORGEJO_KEY }}" > /tmp/ssh_key echo "${{ secrets.SSH_FORGEJO_KEY }}" > /tmp/ssh_key
chmod 600 /tmp/ssh_key chmod 600 /tmp/ssh_key
ssh -i /tmp/ssh_key -o StrictHostKeyChecking=no ${{ vars.VPS_USER }} "bash -c 'rm -rf /var/www/systemsobscure.blog/*'" ssh -i /tmp/ssh_key -o StrictHostKeyChecking=no ${{ vars.VPS_USER }} "bash -c 'rm -rf /var/www/systemsobscure.blog/*'"