Skip to content

Commit

Permalink
Since secrets can't be used in workflow inputs, try passing them as w…
Browse files Browse the repository at this point in the history
…orkflow secrets
  • Loading branch information
jeancochrane committed Nov 30, 2023
1 parent 7cfe631 commit 1c1a258
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-and-run-model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ jobs:
memory: "65536"
role-duration-seconds: 14400 # Worst-case time for a full model run
container-env-vars:
AWS_SNS_ARN_MODEL_STATUS=${{ secrets.AWS_SNS_ARN_MODEL_STATUS }}
secrets:
AWS_IAM_ROLE_TO_ASSUME_ARN: ${{ secrets.AWS_IAM_ROLE_TO_ASSUME_ARN }}
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
CONTAINER_ENV_VARS: |
FOO=foo
BAR=bar

0 comments on commit 1c1a258

Please sign in to comment.