Skip to content

Commit e09a85e

Browse files
committed
fix aws AUTH
1 parent f128779 commit e09a85e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/cd-eks-gitops.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
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
@@ -76,6 +76,7 @@ jobs:
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

0 commit comments

Comments
 (0)