Skip to content

Fix mermaid syntax errors in topics 23 and 24 subgraph titles #5

Fix mermaid syntax errors in topics 23 and 24 subgraph titles

Fix mermaid syntax errors in topics 23 and 24 subgraph titles #5

Workflow file for this run

name: book
on:
push:
branches: [master]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install mdbook + mdbook-mermaid
uses: taiki-e/install-action@v2
with:
tool: mdbook,mdbook-mermaid
- name: Install mdbook-pdf
uses: baptiste0928/cargo-install@v3
with:
crate: mdbook-pdf
- name: Add mermaid assets
run: mdbook-mermaid install .
- name: Build HTML + PDF
# PDF backend enabled via env so plain local `mdbook build` needs only mdbook-mermaid.
env:
MDBOOK_OUTPUT__PDF: '{ "trying-times": 3 }'
run: mdbook build
- name: Bundle PDF into site
run: cp book/pdf/output.pdf book/html/database-learning-path.pdf
- uses: actions/upload-pages-artifact@v3
with:
path: book/html
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4