From 8f7dc27c32e658d9e4eba7a275b497b1890d76d0 Mon Sep 17 00:00:00 2001 From: lookshe Date: Mon, 13 Jan 2025 13:08:56 +0100 Subject: [PATCH] debug ssh problem --- .forgejo/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index f93a727..c09f9d4 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -18,7 +18,7 @@ jobs: chmod 600 ~/.ssh/id_rsa ssh-keyscan -p "${{ vars.SSH_PORT }}" -H "${{ vars.SSH_HOST }}" > ~/.ssh/known_hosts - name: create remote directory - run: ssh -p "${{ vars.SSH_PORT }}" "${{ vars.SSH_USER }}"@"${{ vars.SSH_HOST }}" 'mkdir -p ${{ vars.SSH_DEPLOY_DIR }}' + run: ssh -vv -p "${{ vars.SSH_PORT }}" "${{ vars.SSH_USER }}"@"${{ vars.SSH_HOST }}" 'mkdir -p ${{ vars.SSH_DEPLOY_DIR }}' - name: sync .htaccess file run: rsync -avzP -e 'ssh -p ${{ vars.SSH_PORT }}' "$GITHUB_WORKSPACE/.htaccess" "${{ vars.SSH_USER }}@${{ vars.SSH_HOST }}:${{ vars.SSH_DEPLOY_DIR }}/.htaccess" - name: sync src folder