Skip to content

Commit 07d3bd7

Browse files
author
Keith Halsall
committed
Fix issue with router deploy to cloudrun
1 parent cbaf3cc commit 07d3bd7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy-router.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,15 @@ jobs:
3333
- name: Depoy Apollo Router to Cloud Run
3434
run: |
3535
gcloud run deploy ${{vars.ACTOR}}-${{vars.WORKSHOPID}}-router --image gcr.io/summit-enterprise-workshop/jesse-apollo-router:latest \
36+
--command=/dist/router \
3637
--set-secrets=/dist/config/router.yaml=${{vars.ACTOR}}:latest \
3738
--set-env-vars "APOLLO_ROUTER_HOT_RELOAD=true,APOLLO_KEY=${{ vars.TOKEN }},APOLLO_GRAPH_REF=${{vars.ACTOR}}-${{vars.WORKSHOPID}}${{env.GEN}}@current" --platform managed --region us-central1 \
3839
--allow-unauthenticated
3940
4041
- name: Deploy contract router to Cloud Run
4142
run: |
4243
gcloud run deploy ${{vars.ACTOR}}-contractRouter --image gcr.io/summit-enterprise-workshop/jesse-apollo-router:latest \
44+
--command=/dist/router \
4345
--set-secrets=/dist/config/router.yaml=${{vars.ACTOR}}:latest \
4446
--set-env-vars "APOLLO_ROUTER_HOT_RELOAD=true,APOLLO_KEY=${{ vars.TOKEN }},APOLLO_GRAPH_REF=${{vars.ACTOR}}-${{vars.WORKSHOPID}}${{env.GEN}}@public" --platform managed --region us-central1 \
45-
--allow-unauthenticated
47+
--allow-unauthenticated

0 commit comments

Comments
 (0)