mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-04-24 03:00:09 -04:00
fixing deployment environment to avoid cross-PR deactivations 🎰
This commit is contained in:
committed by
dan13ram
parent
f24b22c3da
commit
f46b30d75c
8
.github/workflows/gcp-deploy.yaml
vendored
8
.github/workflows/gcp-deploy.yaml
vendored
@@ -13,6 +13,7 @@ env:
|
||||
REGISTRY_REPO: thegame
|
||||
DEPLOYMENT_DOMAIN: a.run.app
|
||||
CLOUDRUN_SUFFIX: mjhnbmqqna-uk
|
||||
DEPLOYMENT_ENV: Test-PR-${{github.event.number}}
|
||||
DB_NAME: hasura-pr-${{github.event.number}}
|
||||
BACKEND_SERVICE: backend-pr-${{github.event.number}}
|
||||
FRONTEND_SERVICE: frontend-pr-${{github.event.number}}
|
||||
@@ -36,11 +37,8 @@ jobs:
|
||||
with:
|
||||
step: start
|
||||
token: ${{github.token}}
|
||||
env: test
|
||||
desc: |
|
||||
Test instance deployment for PR #${{github.event.number}} \
|
||||
of ${{github.event.pull_request.head.label}} \
|
||||
by ${{github.event.pull_request.user.login}}
|
||||
env: ${{env.DEPLOYMENT_ENV}}
|
||||
desc: "Test instance deployment for PR #${{github.event.number}} of ${{github.event.pull_request.head.label}} by ${{github.event.pull_request.user.login}}"
|
||||
ref: ${{github.head_ref}}
|
||||
auto_inactive: false
|
||||
logs: https://github.com/${{github.repository}}/commit/${{github.event.after}}/checks
|
||||
|
||||
Reference in New Issue
Block a user