Skip to content

Commit

Permalink
Update ips.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
EarthlingDavey committed Jul 19, 2024
1 parent 618487e commit ad901f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ips.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
cmd: |
IPS=$(yq 'explode(.) | {"deprecating": .deprecating_access_to_moj_intranet | flatten, "allow": .allow_access_to_moj_intranet | flatten }' -o json deploy/config/example-moj-ips.yaml)
echo ::add-mask::$IPS
echo "ips=$IPS" >> "$GITHUB_OUTPUT"
echo ::set-output name=ips::$IPS
# cmd: "IPS=$(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.ips }}

0 comments on commit ad901f8

Please sign in to comment.