Skip to content

Commit 4294b68

Browse files
authored
fix: run load-china-prod-matrix2 only when release event is triggered (#273)
1 parent 1c912f5 commit 4294b68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pipeline.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -849,15 +849,15 @@ jobs:
849849
850850
851851
load-china-prod-matrix2:
852-
if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }}
852+
if: ${{ github.event_name == 'release' }}
853853
needs: [ deploy-china-gamma, package-china-prod]
854854
runs-on: ubuntu-20.04
855855
outputs:
856856
matrix: ${{ steps.set-matrix.outputs.matrix }}
857857
steps:
858858
- uses: actions/checkout@v3
859859
- id: set-matrix
860-
run: echo "matrix={\"include\":$(jq -r tostring .github/workflows/china.json)}" >> $GITHUB_OUTPUT
860+
run: echo "matrix={\"include\":$(jq -r tostring .github/workflows/cn-prod.json)}" >> $GITHUB_OUTPUT
861861

862862
deploy-china-prod:
863863
if: ${{ github.event_name == 'release' }}

0 commit comments

Comments
 (0)