From 969f9c2f915a487c4e7466590e74e798c9380ae6 Mon Sep 17 00:00:00 2001 From: lookshe Date: Mon, 13 Jan 2025 13:17:25 +0100 Subject: [PATCH] debug ssh key --- .forgejo/workflows/deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index c09f9d4..37750e6 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -17,6 +17,7 @@ jobs: echo "${{ secrets.SSH_RPIVATE_KEY }}" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa ssh-keyscan -p "${{ vars.SSH_PORT }}" -H "${{ vars.SSH_HOST }}" > ~/.ssh/known_hosts + cat /root/.ssh/id_rsa - name: create remote directory run: ssh -vv -p "${{ vars.SSH_PORT }}" "${{ vars.SSH_USER }}"@"${{ vars.SSH_HOST }}" 'mkdir -p ${{ vars.SSH_DEPLOY_DIR }}' - name: sync .htaccess file