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
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:
@@ -118,6 +118,17 @@ jobs:
|
|||||||
if: gitea.event_name == 'workflow_dispatch' && gitea.event.inputs.deploy_to_production == 'yes'
|
if: gitea.event_name == 'workflow_dispatch' && gitea.event.inputs.deploy_to_production == 'yes'
|
||||||
environment: production
|
environment: production
|
||||||
steps:
|
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
|
- name: Determine image tag for production
|
||||||
id: prod_image
|
id: prod_image
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user