From 553ba33c829828dd9c7725376f6b20e856193324 Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Thu, 24 Feb 2022 21:36:18 +0000 Subject: [PATCH] Move book building to just as well --- .github/workflows/publish-agb.yml | 3 +-- justfile | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) 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