Add deploying the book as a step for releasing agb

This commit is contained in:
Gwilym Kuiper 2022-01-12 23:13:31 +00:00
parent fdc234b60b
commit 43f806f116

View file

@ -36,3 +36,14 @@ jobs:
asset_name: examples.zip asset_name: examples.zip
tag: ${{ github.ref }} tag: ${{ github.ref }}
overwrite: true overwrite: true
- name: Install mdbook
run: cargo install mdbook
- name: Build the book
run: mdbook build
working-directory: book
- name: Deploy the book
uses: JamesIves/github-pages-deploy-action@v4.2.2
with:
branch: gh-pages
folder: book/book