Skip to content

Use same example config in manual as README (#1879) #193

Use same example config in manual as README (#1879)

Use same example config in manual as README (#1879) #193

Workflow file for this run

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