maybe
Some checks failed
Restart Website Service / restart_service (push) Failing after 1s

This commit is contained in:
Snorre 2025-04-01 13:07:25 +02:00
parent eab037ab3d
commit 5d90cf0861

View file

@ -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'