mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-04-24 03:00:09 -04:00
conditionally setting secret 📠
This commit is contained in:
2
.github/workflows/gcp-deploy-frontend.yaml
vendored
2
.github/workflows/gcp-deploy-frontend.yaml
vendored
@@ -129,7 +129,7 @@ jobs:
|
||||
args: metadata reload
|
||||
env:
|
||||
HASURA_ENDPOINT: https://${{needs.env.outputs.HASURA_HOST}}
|
||||
HASURA_GRAPHQL_ADMIN_SECRET: ${{needs.env.outputs.HASURA_ADMIN_SECRET}}
|
||||
HASURA_GRAPHQL_ADMIN_SECRET: ${{github.ref_name == 'master' && ${{secrets.HASURA_PROD_SECRET}} || ${{secrets.HASURA_DEV_SECRET}}}}
|
||||
PATH_TO_HASURA_PROJECT_ROOT: ./hasura
|
||||
|
||||
build-frontend:
|
||||
|
||||
Reference in New Issue
Block a user