Skip to content

Commit

Permalink
Move GCP deployments to separate GitHub environments
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewDryga committed May 14, 2024
1 parent e114748 commit 687bebd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_deploy_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
deploy-production:
needs: push
runs-on: ubuntu-22.04
environment: production
environment: gcp_production
permissions:
contents: write
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 687bebd

Please sign in to comment.