Skip to content

feat: add support for mermaid #16

feat: add support for mermaid

feat: add support for mermaid #16

Workflow file for this run

name: Publish
on:
pull_request:
branches: [master]
push:
branches: [master]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
id-token: write
pages: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@v2
with:
tool: mdbook,mdbook-mermaid
- name: Build docs
run: mdbook build
- name: Setup GitHub Pages
if: github.event_name == 'push'
uses: actions/configure-pages@v3
- name: Upload Pages artifact
if: github.event_name == 'push'
uses: actions/upload-pages-artifact@v2
with:
path: book
- name: Deploy to GitHub Pages
if: github.event_name == 'push'
uses: actions/deploy-pages@v2