Skip to content

Commit 1c912f5

Browse files
authored
fix: deploy to china gamma accounts when PR is merged to main branch (#272)
1 parent fcd132a commit 1c912f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pipeline.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ jobs:
792792
run: echo "matrix={\"include\":$(jq -r tostring .github/workflows/cn-gamma.json)}" >> $GITHUB_OUTPUT
793793

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

0 commit comments

Comments
 (0)