Skip to content

Commit

Permalink
first pass at fixing parameter handling in GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
tmclaugh committed Aug 9, 2024
1 parent d8e2812 commit a1d9d55
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,15 @@ jobs:
id: process-aws-parameters
shell: bash
run: >-
echo "AWS_CFN_PARAMS=$(
AWS_CFN_PARAMS=$(
cat cfn-parameters.json |
jq -r '
to_entries |
map("--parameter-overrides \(.key)=\(.value|tostring)") |
join(" ")
'
)" >> $GITHUB_ENV
) &&
echo "AWS_CFN_PARAMS=${AWS_CFN_PARAMS:-''}" >> $GITHUB_ENV
- name: Deploy via SAM
id: deploy-sam
Expand Down

0 comments on commit a1d9d55

Please sign in to comment.