From ef8651c2328ef57d2154cb93bc4f0b778ca4bbbd Mon Sep 17 00:00:00 2001 From: Michel Date: Thu, 7 Nov 2024 18:33:38 +0100 Subject: [PATCH] Set host to "docker.host" --- .forgejo/workflows/deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index fba30fa..be8bfcb 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -12,10 +12,12 @@ jobs: - name: Update Service env: SSH_PRIVATE_KEY: ${{ secrets.SSH_KEY }} - HOST: 'home' + HOST: 'docker.host' USERNAME: 'michel' TARGETDIR: '/mnt/drive/containers/gamesshop' run: | + ping ${HOST} + mkdir -p ~/.ssh/ echo "$SSH_PRIVATE_KEY" | tr -d '\r' > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa