mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
Add deploying the book as a step for releasing agb
This commit is contained in:
parent
fdc234b60b
commit
43f806f116
11
.github/workflows/publish-agb.yml
vendored
11
.github/workflows/publish-agb.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue