Skip to content

Commit

Permalink
added gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
fpsom authored Oct 24, 2023
1 parent 7a06bff commit 19a6a45
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/gitbook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'Gitbook-Action'

on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout action
uses: actions/checkout@v1

# example1--> https://ZanderZhao.github.io/gitbook-action
- name: Gitbook Action
uses: zanderzhao/[email protected] # https://github.com/ZanderZhao/gitbook-action/releases
with: # Just example, click above, use latest please
token: ${{ secrets.GITBOOK_TOKEN }}
time_zone: London/Central # set time zone
source_edit_time: true # source time
publish_commit_message: ${{ github.event.head_commit.message }} # use last commit message

0 comments on commit 19a6a45

Please sign in to comment.