This commit is contained in:
parent
5d90cf0861
commit
6b6fc1e7e0
|
@ -17,5 +17,4 @@ jobs:
|
||||||
env:
|
env:
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.WEBSITE_KEY }}
|
SSH_PRIVATE_KEY: ${{ secrets.WEBSITE_KEY }}
|
||||||
run: |
|
run: |
|
||||||
ssh-add - << "$SSH_PRIVATE_KEY"
|
ssh -i <(echo "$SSH_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