chore: skip surge deploy and commit comment for master branch (#55948)

This commit is contained in:
afc163
2025-11-27 18:07:12 +08:00
committed by GitHub
parent 6a1c837019
commit 1b271fcafd

View File

@@ -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: |