Skip to content

Commit

Permalink
Gitbook updated: 2024-06-05 08:53:50
Browse files Browse the repository at this point in the history
Signed-off-by: khs1994 <[email protected]>
  • Loading branch information
khs1994 committed Jun 5, 2024
0 parents commit b4a13a2
Show file tree
Hide file tree
Showing 93 changed files with 65,609 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/gitbook.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
on:
push:
branches:
- master
pull_request:

name: GitBook

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 2
- name: gitbook-build
uses: docker://khs1994/gitbook
- name: gitbook-deploy
if: github.event_name == 'push'
uses: docker://khs1994/gitbook
with:
args: deploy
env:
GIT_USERNAME: "khs1994"
GIT_USEREMAIL: "[email protected]"
GIT_BRANCH: "gh-pages"
# 必须使用自己的 token, actions 的 token 不会触发 master 的 actions
GITHUB_TOKEN: ${{ secrets.PCIT_GIT_TOKEN }}
Loading

0 comments on commit b4a13a2

Please sign in to comment.