Skip to content

#1166 Improve Network Monitor 1 (#1182) #540

#1166 Improve Network Monitor 1 (#1182)

#1166 Improve Network Monitor 1 (#1182) #540

Workflow file for this run

name: Deploy Documentation
on:
workflow_dispatch:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
rust-version: stable
- name: Cache Dependencies
uses: actions/cache@v4
with:
path: ~/.cargo
key: cargo-cache-${{ hashFiles('Cargo.lock') }}
- name: Install dependencies
run: |
cargo install mdbook mdbook-mermaid mdbook-toc
- name: Build MDBook
run: |
if [ -d "docs" ]; then
cd docs
mdbook build
else
echo "Docs folder not found."
fi
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs/book
single-commit: true