This commit is contained in:
parent
eab037ab3d
commit
5d90cf0861
|
@ -17,6 +17,5 @@ jobs:
|
|||
env:
|
||||
SSH_PRIVATE_KEY: ${{ secrets.WEBSITE_KEY }}
|
||||
run: |
|
||||
echo "$SSH_PRIVATE_KEY" > private_key
|
||||
chmod 600 private_key
|
||||
ssh-add - << "$SSH_PRIVATE_KEY"
|
||||
ssh -i private_key -o StrictHostKeyChecking=no website-host-user@spoodythe.one -t 'systemctl restart website.service'
|
||||
|
|
Loading…
Reference in a new issue