diff --git a/.forgejo/workflows/restart_service.yml b/.forgejo/workflows/restart_service.yml index a762d7e..802ccdd 100644 --- a/.forgejo/workflows/restart_service.yml +++ b/.forgejo/workflows/restart_service.yml @@ -16,4 +16,4 @@ jobs: run: | echo "$SSH_PRIVATE_KEY" > /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' + ssh -i /tmp/private_key -o StrictHostKeyChecking=no website-host-user@spoodythe.one -t 'sudo systemctl restart website.service'