Skip to content

Workflow file for this run

name: Build manual pages and deploy documentation
on:
push:
branches:
- master
paths:
- 'docs/**'
- 'doctave.yml'
- '.github/workflows/deploy-docs.yml'
jobs:
build:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: 'Checkout cargo and install doctave'
uses: actions-rs/toolchain@v1.0.6
with:
toolchain: stable
- run: cargo install --git https://github.com/Doctave/doctave --tag 0.4.2
- name: 'Build doctave site'
run: doctave build --release
- name: 'GitHub Pages'
uses: crazy-max/ghaction-github-pages@v3.0.0
with:
build_dir: site/
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}