mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-21 00:14:44 +08:00
Merge branch 'master' into master-merge-feature
This commit is contained in:
commit
9334eb8a09
4
.github/workflows/pr-open-notify.yml
vendored
4
.github/workflows/pr-open-notify.yml
vendored
@ -14,7 +14,9 @@ jobs:
|
||||
- name: send to dingtalk
|
||||
uses: visiky/dingtalk-release-notify@main
|
||||
with:
|
||||
DING_TALK_TOKEN: ${{ secrets.DINGDING_BOT_COLLABORATOR_TOKEN }}
|
||||
DING_TALK_TOKEN: |
|
||||
${{ secrets.DINGDING_BOT_TOKEN }}
|
||||
${{ secrets.DINGDING_BOT_COLLABORATOR_TOKEN }}
|
||||
notify_title: '🔥 @${{ github.event.pull_request.user.login }} 创建了 PR:${{ github.event.pull_request.title }} ${{ github.event.pull_request.html_url }}'
|
||||
notify_body: |
|
||||
### 🔥 [@${{ github.event.pull_request.user.login }}](https://github.com/${{ github.event.pull_request.user.login }}) 创建了 PR:
|
||||
|
4
.github/workflows/preview-deploy.yml
vendored
4
.github/workflows/preview-deploy.yml
vendored
@ -94,7 +94,7 @@ jobs:
|
||||
PR_ID: ${{ steps.pr.outputs.id }}
|
||||
run: |
|
||||
export DEPLOY_DOMAIN=https://preview-${PR_ID}-ant-design.surge.sh
|
||||
npx surge --project ./ --domain $DEPLOY_DOMAIN --token ${{ secrets.SURGE_TOKEN }}
|
||||
npx surge0.23.1 --project ./ --domain $DEPLOY_DOMAIN --token ${{ secrets.SURGE_TOKEN }}
|
||||
|
||||
- name: success comment
|
||||
uses: actions-cool/maintain-one-comment@v3
|
||||
@ -121,6 +121,6 @@ jobs:
|
||||
- name: Check surge deploy result and exit if failed
|
||||
run: |
|
||||
if [ "${{ steps.deploy.outcome }}" != "success" ]; then
|
||||
echo "Surge Deploy failed: ${{ steps.deploy.conclusion }}"
|
||||
echo "Surge Deploy failed."
|
||||
exit 1
|
||||
fi
|
||||
|
2
.github/workflows/site-deploy.yml
vendored
2
.github/workflows/site-deploy.yml
vendored
@ -102,7 +102,7 @@ jobs:
|
||||
run: |
|
||||
export DEPLOY_DOMAIN=ant-design-${{ steps.publish-version.outputs.VERSION }}.surge.sh
|
||||
cp report.html ./_site
|
||||
npx surge --project ./_site --domain $DEPLOY_DOMAIN --token ${{ secrets.SURGE_TOKEN }}
|
||||
npx surge0.23.1 --project ./_site --domain $DEPLOY_DOMAIN --token ${{ secrets.SURGE_TOKEN }}
|
||||
|
||||
- name: Create Commit Comment
|
||||
uses: peter-evans/commit-comment@v3
|
||||
|
Loading…
Reference in New Issue
Block a user