Browse Source

chore: sync to gitee after push gh-pages (#43089)

pull/43117/head
MadCcc 1 year ago
committed by GitHub
parent
commit
8d15644159
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      .github/workflows/site-deploy.yml

9
.github/workflows/site-deploy.yml

@ -89,6 +89,15 @@ jobs:
publish_dir: ./_site
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)
run: |
export DEPLOY_DOMAIN=ant-design-${{ steps.publish-version.outputs.VERSION }}.surge.sh

Loading…
Cancel
Save