Gitbook Publish Action

Build Status

This action publishes a GitBook to GitHub pages.

The source branch is master, and the target branch is gh-pages. If gh-pages does not exist, it will be created automatically.

How to Use

  • Copy this project to a new repo.
  • Change README.md to the first page for the book.
  • Change SUMMARY.md to the table of contents for the book.
  • Update project url in [book.json].
  • Render GitBook and publish to branch gh-pages by running [bin/publish.sh].
  • After running publish.sh the first time, pushing changed to master will trigger a new build of the GitBook

Creating access token

Caveat

Repo must be public to generate the GitBook

results matching ""

    No results matching ""