mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 06:03:38 +08:00
chore: sync to gitee after push gh-pages (#43089)
This commit is contained in:
parent
33fab22b96
commit
8d15644159
9
.github/workflows/site-deploy.yml
vendored
9
.github/workflows/site-deploy.yml
vendored
@ -89,6 +89,15 @@ jobs:
|
|||||||
publish_dir: ./_site
|
publish_dir: ./_site
|
||||||
force_orphan: true
|
force_orphan: true
|
||||||
|
|
||||||
|
# Since force_orphan will not trigger Sync to Gitee, we need to force run it here
|
||||||
|
- name: Sync to Gitee
|
||||||
|
uses: wearerequired/git-mirror-action@v1
|
||||||
|
env:
|
||||||
|
SSH_PRIVATE_KEY: ${{ secrets.GITEE_SSH_PRIVATE_KEY }}
|
||||||
|
with:
|
||||||
|
source-repo: 'git@github.com:ant-design/ant-design.git'
|
||||||
|
destination-repo: 'git@gitee.com:ant-design/ant-design.git'
|
||||||
|
|
||||||
- name: Deploy to Surge (with TAG)
|
- name: Deploy to Surge (with TAG)
|
||||||
run: |
|
run: |
|
||||||
export DEPLOY_DOMAIN=ant-design-${{ steps.publish-version.outputs.VERSION }}.surge.sh
|
export DEPLOY_DOMAIN=ant-design-${{ steps.publish-version.outputs.VERSION }}.surge.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user