Update Reference #144
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Gitbook Build' | |
on: | |
push: | |
branches: | |
- master # trigger branch | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout action | |
uses: actions/checkout@v4 | |
- name: Gitbook Action | |
uses: ZanderZhao/[email protected] | |
with: | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
time_zone: Asia/Shanghai | |
git_name: Sylar | |
git_email: [email protected] | |
publish_branch: gh-pages | |
publish_push_force: false | |
publish_cname: roadmap.isylar.com | |
- name: Sync to Gitee | |
uses: wearerequired/git-mirror-action@master | |
env: | |
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }} | |
with: | |
source-repo: "[email protected]:swlfigo/iOSRoadMap.git" | |
# 注意替换为你的 Gitee 目标仓库地址 | |
destination-repo: "[email protected]:necromancer/iOSRoadMap.git" |