Skip to content

Commit 12c4aa8

Browse files
committed
ELI-338: Fixing proxygen list cmd with awk
1 parent c056743 commit 12c4aa8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/preprod_publish_deploy.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,9 @@ jobs:
6161
run: |
6262
proxygen spec publish build/specification/preprod/eligibility-signposting-api.yaml --uat --no-confirm
6363
- name: Get list of environments
64+
id: get_envs
6465
run: |
65-
ENVS=$(proxygen instance list)
66+
ENVS=$(proxygen instance list | awk 'NR>2 {print $1}' | paste -sd "," -)
6667
echo "envs=$ENVS" >> $GITHUB_OUTPUT
6768
- name: Deploy preprod spec to Proxygen
6869
run: |

0 commit comments

Comments
 (0)