-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gitbook updated: 2024-07-22 08:58:35
Signed-off-by: khs1994 <[email protected]>
- Loading branch information
0 parents
commit 02f4e06
Showing
93 changed files
with
65,609 additions
and
0 deletions.
There are no files selected for viewing
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
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 }} |
Oops, something went wrong.