Skip to content

Commit f8734e9

Browse files
committed
ELI-338: fixing tag issue and adding debugging
1 parent ca70f0e commit f8734e9

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/preprod_publish_deploy.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,16 @@ on:
77
description: "Tag to promote (e.g. spec-{timestamp})"
88
default: latest
99
required: true
10+
push:
11+
branches:
12+
- ELI-338
1013

1114
jobs:
1215
preprod:
1316
runs-on: ubuntu-latest
1417
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v6
1520
- name: Set tag to deploy
1621
id: set_tag
1722
run: |
@@ -55,6 +60,10 @@ jobs:
5560
- name: Publish preprod spec to Proxygen
5661
run: |
5762
proxygen spec publish build/specification/preprod/eligibility-signposting-api.yaml --uat --no-confirm
63+
- name: Get list of environments
64+
run: |
65+
ENVS=$(proxygen environment list --format json | jq -r '.[].name')
66+
echo "envs=$ENVS" >> $GITHUB_OUTPUT
5867
- name: Deploy preprod spec to Proxygen
5968
run: |
6069
proxygen instance deploy preprod eligibility-signposting-api build/specification/preprod/eligibility-signposting-api.yaml --no-confirm

.github/workflows/prod_publish_deploy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
prod:
1212
runs-on: ubuntu-latest
1313
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v6
1416
- name: Set tag to deploy
1517
id: set_tag
1618
run: |

0 commit comments

Comments
 (0)