Skip to content

Commit

Permalink
--docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronlamz committed Oct 2, 2023
1 parent d71fbd1 commit 802b7bb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/sync-to-gitee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,10 @@ jobs:
git checkout gh-pages
git pull
git push gitee gh-pages --force
# 3. 触发 Gitee Pages 重建
- name: Trigger Gitee Pages Rebuild
run: |
curl -X POST https://gitee.com/api/v5/repos/$GITEE_USERNAME/$GITEE_REPO/pages/builds \
-H 'Content-Type: application/json;charset=UTF-8' \
-d '{"access_token": "$GITEE_TOKEN"}'

0 comments on commit 802b7bb

Please sign in to comment.