Skip to content

removed unused chapter from book #15

removed unused chapter from book

removed unused chapter from book #15

Workflow file for this run

name: Publish Main
on:
push:
branches:
- enh/devops
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
book_publish:
name: Publish Book to github Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: ${{ runner.os }}-mdbook-0.4
- run: cargo install mdbook --no-default-features --features search --vers "^0.4" --locked || echo "already installed"
- name: build book
run: mdbook build
working-directory: book
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'book/book'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4