fix: forgejo deploy - please work
All checks were successful
Deploy Blog / deploy (push) Successful in 8s

This commit is contained in:
Thomas Bishop 2025-07-08 17:45:25 +01:00
parent 05e3fbe0ea
commit 88a659f51c

View file

@ -55,6 +55,6 @@ jobs:
echo "test content" > test.txt
echo "${{ secrets.SSH_PRIVATE_KEY }}" > /tmp/ssh_key
chmod 600 /tmp/ssh_key
ssh -i /tmp/ssh_key -o StrictHostKeyChecking=no thomas@116.203.113.18 "rm -rf /var/www/systemsobscure.blog/*"
ssh -i /tmp/ssh_key -o StrictHostKeyChecking=no thomas@116.203.113.18 "bash -c 'rm -rf /var/www/systemsobscure.blog/*'"
scp -i /tmp/ssh_key -o StrictHostKeyChecking=no test.txt thomas@116.203.113.18:/var/www/systemsobscure.blog/
rm /tmp/ssh_key