Skip to content
book-open

GitHub Action

docsify-action

v1.0.3 Latest version

docsify-action

book-open

docsify-action

create beautiful docs from README

Installation

Copy and paste the following snippet into your .yml file.

              

- name: docsify-action

uses: tool3/[email protected]

Learn more about this action in tool3/docsify-action

Choose a version

docsify-action

github action that creates beautiful docs from your README!

Create an action from this template

Click the Use this Template and provide the new repo details for your action

Usage

docsify-action allows you to quickly create beautiful docs from your existing README file.

- uses: tool3/docsify-action@master
  with:
    github_token: ${{ secrets.GP_TOKEN }}

Options

github_token

required
Github access token

dir

destination directory
default: docs

branch

destination branch
default: master

docsify_args

extra docsify-cli arguments

commit_msg

commit message used when pushing to destination branch
default: docs update 📚

Example

name: docs

on: [push]

jobs:
  bump:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - uses: tool3/docsify-action@master
      with:
        github_token: ${{ secrets.GP_TOKEN }}

Github Pages

instruct github pages to serve docs from master docs directory through your repository settings.
Now you have self updating docs !