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