Merge pull request #13 from Xiao75896453/feat/2024-version #7
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 Action Build' | |
on: | |
push: | |
branches: | |
- master # trigger branch | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout action | |
uses: actions/checkout@v2 | |
- name: Gitbook Action | |
uses: zanderzhao/gitbook-action@v1.2.2 | |
with: | |
token: ${{ secrets.DEPLOY_GITHUB_TOKEN }} | |
time_zone: Asia/Taipei # set time zone | |
publish_commit_message: ${{ github.event.head_commit.message }} # use last commit message |