actions-marketplace-validations/Gitbook Action

Github Action For Gitbook

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
tokenCan be Token or Password for source_repo(clone token) and publish_repo(clone push token)yes
git_nameDefault GITHUB_ACTOR, If git name is different with github, please addno
git_emailDefault **@users.noreply.github.com If git name is different with github, please addno
time_zoneSystem Default, if set, like Asia/Shanghaino
source_tokenDefault token, if not, please add (clone)no
source_git_nameDefault git_name, if not, please addno
source_repoDefault this GITHUB_REPOSITORY, if not please add like username/reponame no
source_hubdefault is github.com,can be gitlib.com gitee.com ...nogithub.com
source_branchDefault masternomaster
source_dirWhere gitbook source. Default is rootno/
source_edit_timeDefault false, if plugins need last edit time, set truenofalse
source_file_without_prefixDefault true, if you want to ignore file without prefix please set falseyestrue
publish_tokenDefault token, if not please add (clone push)no
publish_git_nameDefault git_name, if not please addno
publish_git_emailDefault git_email, if not please addno
publish_repoDefault this GITHUB_REPOSITORY, if not please add like username/reponameno
publish_commit_messageDefault Updated by gitbook-action and time, can use last commit messageno
publish_hubDefault is github.com,can be gitlib.com gitee.com ...nogithub.com
publish_branchDefaule is gh-pages, auto createnogh-pages
publish_dirDefault is root, if not add like docs or docs/gitbook ...no/
publish_commit_historyset false will only one commit at publish_reponotrue
publish_cnameDefault null, can set www.example.com example.com ...nonull
publish_nojekyllDefault false, if set true, it will add .nojekyll for publishnofalse
publish_push_forceDefault false. Set true will enable git push forcenofalse
publish_remove_last_buildDefault true. Set false not remove last build but rewrite same filenotrue
gitbook_cli_versionDefault is 2.3.2, can choose from https://www.npmjs.com/package/gitbook-cli?activeTab=versionsno
gitbook_versionDefault is 3.2.3, can choose from https://www.npmjs.com/package/gitbook?activeTab=versionsno
gitbook_pdfSet true will generate pdf filenofalse
gitbook_pdf_dirWhere the pdf to put. Default mybook, can change / for root, or myebooknomybook
gitbook_pdf_nameThe name of your pdf. Default ebooknoebook
gitbook_epubSet true will generate epub filenofalse
gitbook_epub_dirnomybook
gitbook_epub_namenoebook
gitbook_mobiSet true will generate mobi filenofalse
gitbook_mobi_dirnomybook
gitbook_mobi_namenoebook
source2_git_nameDefault git_name, if not please addno
source2_tokenDefault token, if not please add (clone)
source2_hubnogithub.com
source2_repoDefault null, if use please add like username/reponame, (same with source will replace, different will mix)nonull
source2_branchnomaster
source2_dirno/
source2_edit_timeDefault false if plugins need last edit time, set truenofalse
source2_file_without_prefixDefault true, if you want to ignore file without prefix please set falseyestrue
publish2_git_nameDefault git_name, if not please addno
publish2_tokenDefault token, if not please add (clone push)
publish2_git_emailDefault git_email, if not please addno
publish2_commit_messageDefault Updated by gitbook-action and timeno
publish2_hubnogithub.com
publish2_repoDefault null, if use please add like username/reponamenonull
publish2_branchDefault gh-pagesnogh-pages
publish2_nojekyllDefault false, if set true, it will add .nojekyll for publish2nofalse
publish2_dirno/
publish2_cnameDefault nullnonull
publish2_push_forceDefault false. Set true will enable git push forcenofalse
publish2_commit_historyset false will only one commit at publish2_reponotrue
publish2_remove_last_buildDefault true. Set false not remove last build but rewrite same filenotrue
publish3_git_nameDefault git_name, if not please addno
publish3_tokenDefault token, if not please add (clone push)
publish3_git_emailDefault git_email, if not please addno
publish3_commit_messageDefault Updated by gitbook-action and timeno
publish3_hubnogithub.com
publish3_repoDefault null, if use please add like username/reponamenonull
publish3_branchDefault gh-pagesnogh-pages
publish3_dirDefault rootno/
publish3_cnameDefault nullnonull
publish3_nojekyllDefault false, if set true, it will add .nojekyll for publish3nofalse
publish3_push_forceDefault false. Set true will enable git push forcenofalse
publish3_commit_historyset false will only one commit at publish3_reponotrue
publish3_remove_last_buildDefault true. Set false not remove last build but rewrite same filenotrue
not_cleanDefault false. Set true will not remove working filenofalse
font_installInstall font for pdfno
prepare_installSome install for prepareno

no outputs