mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
Move GCP deployments to separate GitHub environments
This commit is contained in:
2
.github/workflows/_deploy_production.yml
vendored
2
.github/workflows/_deploy_production.yml
vendored
@@ -118,7 +118,7 @@ jobs:
|
||||
deploy-production:
|
||||
needs: push
|
||||
runs-on: ubuntu-22.04
|
||||
environment: production
|
||||
environment: gcp_production
|
||||
permissions:
|
||||
contents: write
|
||||
env:
|
||||
|
||||
2
.github/workflows/cd.yml
vendored
2
.github/workflows/cd.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user