fixing deployment environment to avoid cross-PR deactivations 🎰

This commit is contained in:
W.J. “dysbulic” H
2022-02-15 01:29:39 -05:00
committed by dan13ram
parent f24b22c3da
commit f46b30d75c

View File

@@ -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