diff --git a/.github/workflows/publish-agb.yml b/.github/workflows/publish-agb.yml index 73618279..f7f30457 100644 --- a/.github/workflows/publish-agb.yml +++ b/.github/workflows/publish-agb.yml @@ -41,8 +41,7 @@ jobs: - name: Install mdbook run: cargo install mdbook - name: Build the book - run: mdbook build - working-directory: book + run: just build-book - name: Deploy the book uses: JamesIves/github-pages-deploy-action@v4.2.5 with: diff --git a/justfile b/justfile index 9f93aaff..8b292061 100644 --- a/justfile +++ b/justfile @@ -14,6 +14,9 @@ build-roms: (cd examples/target && zip examples.zip examples/*.gba) +build-book: + (cd book && mdbook build) + _build-rom folder name: #!/usr/bin/env bash set -euxo pipefail