Skip to content

Commit

Permalink
Make env handling more like GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
tmclaugh committed Aug 28, 2024
1 parent 8342b13 commit 2296a13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,13 @@ jobs:
shell: bash
env:
GHA_SECRETS: ${{ tojson(secrets) }}
GHA_VARS: ${{ toJson(vars) }}
GHA_ENV: ${{ toJson(env) }}
run: >-
AWS_CFN_PARAMS=$(
jq \
-n \
--argjson secrets "$GHA_SECRETS" \
--argjson vars "$GHA_VARS" \
--argjson env "$GHA_ENV" \
-f cfn-parameters.json |
jq \
-r '
Expand Down

0 comments on commit 2296a13

Please sign in to comment.