Skip to content

Commit

Permalink
chore: update workflows to support hint function url env var
Browse files Browse the repository at this point in the history
  • Loading branch information
jsgalarraga committed Jun 12, 2024
1 parent 633bd70 commit d9087db
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy_api_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ env:
GAME_URL: "*"
INITIALS_BLACKLIST_ID: T1ilfCwjDpLS7iaFzenA
FB_STORAGE_BUCKET: io-crossword-dev.appspot.com
HINT_FUNCTION_URL: gethintkit-sea6y22h5q-uc.a.run.app

jobs:
deploy:
Expand Down Expand Up @@ -61,6 +62,7 @@ jobs:
GAME_URL=${{ env.GAME_URL }}
INITIALS_BLACKLIST_ID=${{ env.INITIALS_BLACKLIST_ID }}
FB_STORAGE_BUCKET=${{ env.FB_STORAGE_BUCKET }}
HINT_FUNCTION_URL=${{ env.HINT_FUNCTION_URL }}
- name: Show Output
run: echo ${{ steps.deploy.outputs.url }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy_api_prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ env:
GAME_URL: https://prod-9961b3776301c37db86d9038f.web.app
INITIALS_BLACKLIST_ID: CRORRJZBdf0rLLkHDr9j
FB_STORAGE_BUCKET: io-crossword.appspot.com
HINT_FUNCTION_URL: gethintkit-u3emptgwka-uc.a.run.app

jobs:
deploy:
Expand Down Expand Up @@ -54,6 +55,7 @@ jobs:
GAME_URL=${{ env.GAME_URL }}
INITIALS_BLACKLIST_ID=${{ env.INITIALS_BLACKLIST_ID }}
FB_STORAGE_BUCKET=${{ env.FB_STORAGE_BUCKET }}
HINT_FUNCTION_URL=${{ env.HINT_FUNCTION_URL }}
- name: Show Output
run: echo ${{ steps.deploy.outputs.url }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy_api_staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ env:
GAME_URL: https://stg-e7b2896c65fabc0480edc6c0e.web.app
INITIALS_BLACKLIST_ID: T1ilfCwjDpLS7iaFzenA
FB_STORAGE_BUCKET: io-crossword-dev.appspot.com
HINT_FUNCTION_URL: gethintkit-sea6y22h5q-uc.a.run.app

jobs:
deploy:
Expand Down Expand Up @@ -54,6 +55,7 @@ jobs:
GAME_URL=${{ env.GAME_URL }}
INITIALS_BLACKLIST_ID=${{ env.INITIALS_BLACKLIST_ID }}
FB_STORAGE_BUCKET=${{ env.FB_STORAGE_BUCKET }}
HINT_FUNCTION_URL=${{ env.HINT_FUNCTION_URL }}
- name: Show Output
run: echo ${{ steps.deploy.outputs.url }}
Expand Down

0 comments on commit d9087db

Please sign in to comment.