Skip to content

style: Address clippy lints due to rust 1.72.0 (#535) #633

style: Address clippy lints due to rust 1.72.0 (#535)

style: Address clippy lints due to rust 1.72.0 (#535) #633

Workflow file for this run

name: github pages
on:
push:
branches:
- main
release:
types: [created]
pull_request:
jobs:
mdbook:
runs-on: ubuntu-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: 'latest'
- run: mdbook build book
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.event_name == 'release'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book/book