Skip to content

Commit 83cf0a2

Browse files
committed
[feature/PI-276-proxygen_spec] add api spec
1 parent 4be03fb commit 83cf0a2

File tree

6 files changed

+81
-3045
lines changed

6 files changed

+81
-3045
lines changed

.github/workflows/_deploy.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,22 @@ jobs:
145145
infrastructure/swagger/dist/apigee/swagger.yaml
146146
if: ${{ always() }}
147147

148+
swagger--publish:
149+
needs: [get-branch-from-workflow-file, apigee--deploy]
150+
runs-on: [self-hosted, ci]
151+
steps:
152+
- uses: actions/checkout@v4
153+
with:
154+
ref: ${{ needs.get-branch-from-workflow-file.outputs.branch_name }}
155+
# change below to (env.ACCOUNT == 'int') || (env.ACCOUNT == 'prod') when ready for prod
156+
- if: (${{ env.SCOPE == 'per_workspace'}}) && (${{ env.ACCOUNT == 'int' }})
157+
uses: ./.github/actions/make/
158+
with:
159+
command: swagger--publish
160+
requires-aws: true
161+
restore-from-cache: "true"
162+
cache-suffix: ${{ env.CACHE_NAME }}
163+
148164
test--smoke:
149165
needs: [get-branch-from-workflow-file, apigee--deploy]
150166
runs-on: [self-hosted, ci]
@@ -162,7 +178,7 @@ jobs:
162178

163179
set-success:
164180
name: Set Success
165-
needs: [test--smoke]
181+
needs: [test--smoke, apigee--deploy]
166182
runs-on: [self-hosted, ci]
167183
steps:
168184
- name: Set success env var

0 commit comments

Comments
 (0)