Skip to content

Commit

Permalink
chore: add mermaid
Browse files Browse the repository at this point in the history
  • Loading branch information
mcharytoniuk committed Jun 29, 2024
1 parent 296246c commit f0cffad
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/github_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,13 @@ jobs:
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
- name: Check and install mdbook if not already installed
run: |
if ! cargo install --list | grep -q "mdbook v"; then
if ! command -v mdbook &> /dev/null; then
cargo install mdbook
else
echo "mdbook is already installed"
fi
- name: Check and install mdbook-mermaid if not already installed
run: |
if ! cargo install --list | grep -q "mdbook-mermaid v"; then
if ! command -v mdbook-mermaid &> /dev/null; then
cargo install mdbook-mermaid
else
echo "mdbook-mermaid is already installed"
fi
- name: build book
run: make build
Expand Down

0 comments on commit f0cffad

Please sign in to comment.