Skip to content

Commit

Permalink
quote the jq command
Browse files Browse the repository at this point in the history
  • Loading branch information
EarthlingDavey committed Jul 19, 2024
1 parent e032eb1 commit 5c8ca4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ips.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
id: parseIps
uses: mikefarah/yq@master
with:
cmd: yq 'explode(.) | {"deprecating": .deprecating_access_to_moj_intranet | flatten, "allow": .allow_access_to_moj_intranet | flatten }' -o json deploy/config/example-moj-ips.yaml
cmd: "yq 'explode(.) | {\"deprecating\" .deprecating_access_to_moj_intranet | flatten, \"allow\": .allow_access_to_moj_intranet | flatten }' -o json deploy/config/example-moj-ips.yaml"
- name: Reuse a variable obtained in another step
run: echo ${{ steps.parseIps.outputs.result }}

0 comments on commit 5c8ca4d

Please sign in to comment.