Skip to content

Add functional updates #799

Add functional updates

Add functional updates #799

Workflow file for this run

name: gh-pages
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: Build and Deploy Website
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install mdBook
uses: peaceiris/[email protected]
- run: mdbook build book
- name: Rust Cache
uses: Swatinem/[email protected]
- run: cargo xtask doc && mv target/doc book/book
# Only deploy when pushing on main, otherwise just run mdbook and cargo doc to check if there are any errors
- uses: JamesIves/[email protected]
if: ${{ github.event_name == 'push' }}
with:
branch: gh-pages # The branch the action should deploy to.
folder: book/book # The folder the action should deploy.