From 1e413f861ed62a4858e8a1d7e5ab7fb98c037ffc Mon Sep 17 00:00:00 2001 From: Snorre Date: Tue, 1 Apr 2025 14:24:56 +0200 Subject: [PATCH] dfjgds --- .forgejo/workflows/restart_service.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/restart_service.yml b/.forgejo/workflows/restart_service.yml index bc544df..a762d7e 100644 --- a/.forgejo/workflows/restart_service.yml +++ b/.forgejo/workflows/restart_service.yml @@ -15,5 +15,5 @@ jobs: SSH_PRIVATE_KEY: ${{ secrets.WEBSITE_KEY }} run: | echo "$SSH_PRIVATE_KEY" > /tmp/private_key - chmod 777 /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'