fix: try again to run Forgejo deploy action
Some checks failed
Deploy Blog / deploy (push) Failing after 42s

This commit is contained in:
Thomas Bishop 2025-07-08 16:59:23 +01:00
parent 2233c02398
commit 1fcc9c21b0

View file

@ -57,12 +57,10 @@ jobs:
- run: npm run build:posts - run: npm run build:posts
- run: npm run build - run: npm run build
- name: Copy files via SCP - name: Deploy via SSH
uses: appleboy/scp-action@v0.1.4 run: |
with: echo "${{ secrets.SSH_PRIVATE_KEY }}" > /tmp/ssh_key
host: localhost chmod 600 /tmp/ssh_key
username: thomas ssh -i /tmp/ssh_key -o StrictHostKeyChecking=no thomas@localhost "rm -rf /var/www/systemsobscure.blog/*"
key: ${{ secrets.SSH_PRIVATE_KEY }} scp -i /tmp/ssh_key -o StrictHostKeyChecking=no -r dist/* thomas@localhost:/var/www/systemsobscure.blog/
source: "dist/*" rm /tmp/ssh_key
target: "/var/www/systemsobscure.blog/"
strip_components: 1