This commit is contained in:
parent
e8a92a4fce
commit
2d900267c2
1 changed files with 1 additions and 1 deletions
|
@ -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 && mkdir -p /var/www/systemsobscure.blog"
|
||||
ssh -i /tmp/ssh_key -o StrictHostKeyChecking=no thomas@116.203.113.18 "sudo rm -rf /var/www/systemsobscure.blog && sudo mkdir -p /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
|
||||
|
|
Loading…
Add table
Reference in a new issue