This commit is contained in:
parent
540b5101a0
commit
1e413f861e
|
@ -15,5 +15,5 @@ jobs:
|
|||
SSH_PRIVATE_KEY: ${{ secrets.WEBSITE_KEY }}
|
||||
run: |
|
||||
echo "$SSH_PRIVATE_KEY" > /tmp/private_key
|
||||
chmod 777 /tmp/private_key
|
||||
chmod 600 /tmp/private_key
|
||||
ssh -i /tmp/private_key -o StrictHostKeyChecking=no website-host-user@spoodythe.one -t 'systemctl restart website.service'
|
||||
|
|
Loading…
Reference in a new issue