File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828# GITOPS_DEPLOY_TOKEN — PAT (contents:write) on mypythonproject1-gitops
2929# ARGOCD_SERVER — ArgoCD server hostname only, no scheme
3030# ARGOCD_TOKEN — ArgoCD API token for health poll
31- # DATABASE_PORT / DB_PORT / DB_NAME / DB_USERNAME / DB_PASSWORD
31+ # DATABASE_PORT / DATABASE_PORT / DATABASE_NAME / DATABASE_USERNAME / DATABASE_PASSWORD
3232#
3333# Variables (GitHub Environments):
3434# APP_URL — Base URL for smoke test health check
7676 (github.event_name == 'workflow_run'
7777 && github.event.workflow_run.conclusion == 'success') || (github.event_name == 'workflow_dispatch'
7878 && inputs.environment == 'dev')
79+ environment : dev
7980 permissions :
8081 contents : read
8182 id-token : write
@@ -145,6 +146,7 @@ jobs:
145146 (github.event_name == 'workflow_run'
146147 && github.event.workflow_run.conclusion == 'success')|| (github.event_name == 'workflow_dispatch'
147148 && inputs.environment == 'staging')
149+ environment : staging
148150 permissions :
149151 contents : read
150152 id-token : write
@@ -249,6 +251,7 @@ jobs:
249251 build-production :
250252 name : " Build & Push [production]"
251253 if : startsWith(github.ref, 'refs/tags/v')
254+ environment : prod
252255 permissions :
253256 contents : read
254257 id-token : write
You can’t perform that action at this time.
0 commit comments