Merge pull request #414 from quartiq/dependabot/cargo/serde_with-3.8.3 #107
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Documentation | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
release-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: Swatinem/rust-cache@v1 | |
- name: Install Linkcheck | |
uses: actions-rs/cargo@v1 | |
with: | |
command: install | |
args: mdbook-linkcheck | |
- name: Install ToC | |
uses: actions-rs/cargo@v1 | |
with: | |
command: install | |
args: mdbook-toc | |
- uses: peaceiris/actions-mdbook@v1 | |
with: | |
mdbook-version: '0.4.12' | |
- name: Build Book | |
working-directory: book | |
run: mdbook build | |
- uses: peaceiris/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: book/booster-manual/html | |
enable_jekyll: true | |
publish_branch: pages | |
force_orphan: true |