Skip to content

Update Reference

Update Reference #144

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"