Skip to content

Commit

Permalink
fix: deploy to china gamma accounts when PR is merged to main branch (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mbfreder authored Aug 17, 2023
1 parent fcd132a commit 1c912f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ jobs:
run: echo "matrix={\"include\":$(jq -r tostring .github/workflows/cn-gamma.json)}" >> $GITHUB_OUTPUT

deploy-china-gamma:
if: ${{ github.event_name == 'release' }}
if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }}
needs: [load-china-gamma-matrix2]
runs-on: ubuntu-20.04
environment: prod
Expand Down

0 comments on commit 1c912f5

Please sign in to comment.