Skip to content

Commit

Permalink
chore: sync to gitee after push gh-pages (ant-design#43089)
Browse files Browse the repository at this point in the history
  • Loading branch information
MadCcc authored Jun 20, 2023
1 parent 33fab22 commit 8d15644
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/site-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: '[email protected]:ant-design/ant-design.git'
destination-repo: '[email protected]:ant-design/ant-design.git'

- name: Deploy to Surge (with TAG)
run: |
export DEPLOY_DOMAIN=ant-design-${{ steps.publish-version.outputs.VERSION }}.surge.sh
Expand Down

0 comments on commit 8d15644

Please sign in to comment.