From 202a3cc463b6ccc6c845b64dec8e0055cfae190b Mon Sep 17 00:00:00 2001 From: zhenyu Date: Fri, 29 Aug 2025 20:17:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=B5=8B=E8=AF=95=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1578bbe7..95f08492 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -185,7 +185,7 @@ jobs: echo "${{ secrets.DEEPFLOWIOKUBECONFIG}}" >> ~/.kube/config - name: update - if: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'main' && github.repository == 'deepflowio/docs' && github.event.pull_request.merged == true }} + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'deepflowio/docs' }} shell: bash run: | kubectl set image -n deepservice-test deployment deepservice-docs deepservice-docs=${{ secrets.REGISTRY_ALIYUN_ADDR }}/deepservice/${{ env.IMAGE }}:${{ env.IMAGE_TAG_PREFIX }}-${{ github.run_id }}-${{ github.run_attempt }}