fix: forgejo deploy - please work
All checks were successful
Deploy Blog / deploy (push) Successful in 8s
All checks were successful
Deploy Blog / deploy (push) Successful in 8s
This commit is contained in:
parent
05e3fbe0ea
commit
88a659f51c
1 changed files with 1 additions and 1 deletions
|
@ -55,6 +55,6 @@ jobs:
|
||||||
echo "test content" > test.txt
|
echo "test content" > test.txt
|
||||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > /tmp/ssh_key
|
echo "${{ secrets.SSH_PRIVATE_KEY }}" > /tmp/ssh_key
|
||||||
chmod 600 /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/
|
scp -i /tmp/ssh_key -o StrictHostKeyChecking=no test.txt thomas@116.203.113.18:/var/www/systemsobscure.blog/
|
||||||
rm /tmp/ssh_key
|
rm /tmp/ssh_key
|
||||||
|
|
Loading…
Add table
Reference in a new issue