Fix typo in manual #186
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: Deploy Manual | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "manual/**" | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
build: | |
permissions: | |
contents: read | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
- run: cargo doc --no-deps | |
- name: Setup mdBook | |
uses: taiki-e/install-action@v2 | |
with: | |
tool: [email protected] | |
- name: Build manual | |
run: mdbook build | |
working-directory: manual | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v1 | |
with: | |
path: manual/book | |
deploy: | |
needs: build | |
permissions: | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Configure GitHub Pages | |
uses: actions/configure-pages@v3 | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v2 |