debug deploy
This commit is contained in:
parent
69dea8423e
commit
5a20a0bd4c
1 changed files with 11 additions and 0 deletions
11
.github/workflows/deploy.yml
vendored
11
.github/workflows/deploy.yml
vendored
|
|
@ -27,6 +27,17 @@ jobs:
|
||||||
chmod 600 ~/.ssh/deploy_key
|
chmod 600 ~/.ssh/deploy_key
|
||||||
ssh-keyscan -H ${{ secrets.SERVER_HOST }} >> ~/.ssh/known_hosts
|
ssh-keyscan -H ${{ secrets.SERVER_HOST }} >> ~/.ssh/known_hosts
|
||||||
|
|
||||||
|
# 2.5 Debug SSH
|
||||||
|
- name: Debug SSH Connection
|
||||||
|
run: |
|
||||||
|
echo "=== Key file info ==="
|
||||||
|
ls -la ~/.ssh/deploy_key
|
||||||
|
head -1 ~/.ssh/deploy_key
|
||||||
|
tail -1 ~/.ssh/deploy_key
|
||||||
|
|
||||||
|
echo "=== Testing SSH ==="
|
||||||
|
ssh -vvv -i ~/.ssh/deploy_key -o StrictHostKeyChecking=no ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_HOST }} "echo SUCCESS" 2>&1 | head -100
|
||||||
|
|
||||||
# 3. Dateien zum Server kopieren
|
# 3. Dateien zum Server kopieren
|
||||||
- name: Deploy files to server
|
- name: Deploy files to server
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue