Skip to content

Commit

Permalink
only if input is prod
Browse files Browse the repository at this point in the history
  • Loading branch information
chasinandrew committed Oct 3, 2023
1 parent 8ec604f commit aedab06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ jobs:

- name: Prod canary deployment to Cloud Run
id: deploy-canary
if: inputs.environment == 'prod' && (github.event_name != 'pull_request' || github.event_name != 'push')
if: inputs.environment == 'prod'
uses: google-github-actions/deploy-cloudrun@v0
with:
project_id: ${{ vars.gcp_project_id }}
Expand Down

0 comments on commit aedab06

Please sign in to comment.