Move book building to just as well

This commit is contained in:
Gwilym Kuiper 2022-02-24 21:36:18 +00:00
parent c228910885
commit 553ba33c82
2 changed files with 4 additions and 2 deletions

View file

@ -41,8 +41,7 @@ jobs:
- name: Install mdbook - name: Install mdbook
run: cargo install mdbook run: cargo install mdbook
- name: Build the book - name: Build the book
run: mdbook build run: just build-book
working-directory: book
- name: Deploy the book - name: Deploy the book
uses: JamesIves/github-pages-deploy-action@v4.2.5 uses: JamesIves/github-pages-deploy-action@v4.2.5
with: with:

View file

@ -14,6 +14,9 @@ build-roms:
(cd examples/target && zip examples.zip examples/*.gba) (cd examples/target && zip examples.zip examples/*.gba)
build-book:
(cd book && mdbook build)
_build-rom folder name: _build-rom folder name:
#!/usr/bin/env bash #!/usr/bin/env bash
set -euxo pipefail set -euxo pipefail