CI Failure: add production deploy workflow - Missing DEPLOY_PROD_HOST secret #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CI Failure Analysis
Run URL: https://git.brads.house/dungeonchurch/rpg-cards/actions/runs/3
Commit:
70b4fc2a21Workflow: Deploy to Production (.forgejo/workflows/deploy-prod.yml)
Trigger: Push to master
Attempts: 1/3 (2 remaining)
Error
Root Cause
The workflow expects several deployment secrets that are not configured:
DEPLOY_PROD_HOST(hostname for deployment server)DEPLOY_PROD_PORT(SSH port, defaults to 22)DEPLOY_PROD_USER(SSH user)DEPLOY_PROD_SSH_KEY(SSH private key)DEPLOY_PROD_PATH(Path to docker-compose on server)FORGEJO_TOKEN(Registry auth token)Specifically,
ssh-keyscanis being called with no host argument because${{ secrets.DEPLOY_PROD_HOST }}evaluates to empty:Resolution
Requires human intervention: Add the following secrets to repository Settings > Secrets:
DEPLOY_PROD_HOSTDEPLOY_PROD_PORTDEPLOY_PROD_USERDEPLOY_PROD_SSH_KEYDEPLOY_PROD_PATHFORGEJO_TOKENThe workflow logic itself is correct; it just needs the secrets configured.
Severity
HIGH - Infrastructure configuration required. Workflow cannot run without secrets.
cc @unknown @brad