From 1b271fcafd3241dba0e1db785e41aca89a993dfd Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 27 Nov 2025 18:07:12 +0800 Subject: [PATCH] chore: skip surge deploy and commit comment for master branch (#55948) --- .github/workflows/site-deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/site-deploy.yml b/.github/workflows/site-deploy.yml index 2c14e348a8..6d11b992c0 100644 --- a/.github/workflows/site-deploy.yml +++ b/.github/workflows/site-deploy.yml @@ -86,11 +86,13 @@ jobs: destination-repo: 'git@gitee.com:ant-design/ant-design.git' - name: Deploy to Surge (with TAG) + if: ${{ needs.build-site.outputs.formatted_version != 'master' }} run: | export DEPLOY_DOMAIN=ant-design-${{ needs.build-site.outputs.formatted_version }}.surge.sh utx surge --project ./_site --domain $DEPLOY_DOMAIN --token ${{ secrets.SURGE_TOKEN }} - name: Create Commit Comment + if: ${{ needs.build-site.outputs.formatted_version != 'master' }} uses: peter-evans/commit-comment@v4 with: body: |