mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
chore: skip surge deploy and commit comment for master branch (#55948)
This commit is contained in:
2
.github/workflows/site-deploy.yml
vendored
2
.github/workflows/site-deploy.yml
vendored
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user