From 6b6fc1e7e0f7dd05f246cb9019329d269a097113 Mon Sep 17 00:00:00 2001 From: Snorre Date: Tue, 1 Apr 2025 13:10:22 +0200 Subject: [PATCH] maybe 2 --- .forgejo/workflows/restart_service.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.forgejo/workflows/restart_service.yml b/.forgejo/workflows/restart_service.yml index 1c065bf..d527846 100644 --- a/.forgejo/workflows/restart_service.yml +++ b/.forgejo/workflows/restart_service.yml @@ -17,5 +17,4 @@ jobs: env: SSH_PRIVATE_KEY: ${{ secrets.WEBSITE_KEY }} run: | - ssh-add - << "$SSH_PRIVATE_KEY" - ssh -i private_key -o StrictHostKeyChecking=no website-host-user@spoodythe.one -t 'systemctl restart website.service' + ssh -i <(echo "$SSH_PRIVATE_KEY") -o StrictHostKeyChecking=no website-host-user@spoodythe.one -t 'systemctl restart website.service'