Generate documentation and publish to github pages

This commit is contained in:
Jeremy Soller 2024-01-12 10:06:25 -07:00
parent 94a1bbdaa5
commit 5081440c41

21
.github/workflows/pages.yml vendored Normal file
View file

@ -0,0 +1,21 @@
name: Pages
on:
push:
branches:
- master
jobs:
pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build documentation
run: cargo doc --verbose
- name: Deploy documentation
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc