Skip to content

Updating book.toml

Updating book.toml #1

Workflow file for this run

name: build and deploy docs
on:
push:
branches:
- master
paths:
- "docs/**"
jobs:
build:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Setup Rust
uses: ATiltedTree/setup-rust@v1
with:
rust-version: stable
components: clippy
- name: Install mdbook
run: |
cargo install mdbook
- name: Build mdBook
working-directory: docs
run: |
mdbook build
- name: Copy CNAME file
working-directory: docs
run: |
cp CNAME ./book/
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4