Skip to content

Commit

Permalink
conditionally setting secret 📠
Browse files Browse the repository at this point in the history
  • Loading branch information
dysbulic committed Jul 4, 2024
1 parent fa24731 commit 9360fc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gcp-deploy-frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9360fc6

Please sign in to comment.