Skip to content

Merge pull request #10 from CoolestEnoch/patch-1 #13

Merge pull request #10 from CoolestEnoch/patch-1

Merge pull request #10 from CoolestEnoch/patch-1 #13

Workflow file for this run

name: github pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: 'latest'
- name: Setup mdbook mermaid env
run: cargo install mdbook-mermaid
- name: preprocess mdbook mermaid graph
run: mdbook-mermaid install ./docs
- name: Build mdbook
run: mdbook build docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/book