Skip to content

Github Action wich Automatically builds a Honkit book website from the source code.

License

Notifications You must be signed in to change notification settings

FriesI23/honkit-build-page

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Honkit Build Page GitHub Action

This GitHub Action automates the process of building a Honkit documentation site from source code.

Usage

To use this GitHub Action, follow these steps:

1. Add this Action to your Workflow

- name: Build Pages
  uses: FriesI23/honkit-build-page@<version>
  with:
    nodejs-version: <overwrite node.js version>
    output-sitedir: <custom output dir>
    working-directory: <build path>

A specific usage example can be explored in .github/workflows/build-ghpage.yml.

2. Enable GitHub Pages

Navigate to "<your-repo-page> -> Settings -> Pages -> GitHub Pages -> Build and deployment", switch "source" to "GitHub Actions".

Enbale GitHub Pages

3. Commit and Push

Commit the workflow file to your repo and push it to GitHub.

Inputs

Input Description
nodejs-version Node.js version required for building pages
output-sitedir Final directory where the book site is stored
working-directory The working directory for this action

See Action file to view the complete params.

Acknowledgements

This Action was inspired by the need to simplify the process of building Honkit documentation sites.

License

This project is licensed under MIT License.

About

Github Action wich Automatically builds a Honkit book website from the source code.

Topics

Resources

License

Stars

Watchers

Forks