Create .gitea/workflows/deploy-production.yml #82
Reference in New Issue
Block a user
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?
Overview
Create a Gitea Actions workflow for automated deployment to the production environment when code is pushed to the main branch.
Acceptance Criteria
.gitea/workflows/deploy-production.ymlmainbranchsecrets.PROD_HOSTpip install -r requirements.txtdbt runto update modelsdocker compose restartto restart servicesTechnical Notes
Required Gitea secrets:
PROD_SSH_KEY- Private SSH key for productionPROD_HOST- Production server hostname/IPPROD_USER- SSH usernameWorkflow should mirror staging but with production secrets:
Labels
Phase: 2 - CI/CD