debug prod
Some checks failed
Build, Push and Deploy / build-and-push (push) Successful in 2m19s
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 8s
Build, Push and Deploy / deploy-staging (push) Successful in 20s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s

This commit is contained in:
eko
2026-03-29 05:16:33 +07:00
parent fd7bbba665
commit 8e251b9f50

View File

@@ -118,6 +118,17 @@ jobs:
if: gitea.event_name == 'workflow_dispatch' && gitea.event.inputs.deploy_to_production == 'yes'
environment: production
steps:
- name: Debug SSH Configuration
run: |
echo "Current user: $(whoami)"
echo "Home directory: $HOME"
echo "SSH config location: $HOME/.ssh/config"
echo "SSH config content:"
cat $HOME/.ssh/config || echo "No SSH config found"
echo ""
echo "Testing SSH connection:"
ssh -v kulakpos_prod echo "Connection successful" || echo "Connection failed"
- name: Determine image tag for production
id: prod_image
run: |