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