Move GCP deployments to separate GitHub environments

This commit is contained in:
Andrew Dryga
2024-05-14 16:10:56 -06:00
parent e11474828f
commit 687bebd4b4
2 changed files with 2 additions and 2 deletions

View File

@@ -118,7 +118,7 @@ jobs:
deploy-production:
needs: push
runs-on: ubuntu-22.04
environment: production
environment: gcp_production
permissions:
contents: write
env:

View File

@@ -40,7 +40,7 @@ jobs:
deploy-staging:
if: ${{ github.event_name != 'workflow_dispatch' || inputs.deploy-staging }}
runs-on: ubuntu-22.04
environment: staging
environment: gcp_staging
permissions:
contents: write
# Cancel old workflow runs if new code is pushed