From 808eeecdc028e96ec8d371aea59a784ddd67f5f7 Mon Sep 17 00:00:00 2001 From: CJ Burkey Date: Tue, 18 Jun 2024 19:37:01 -0400 Subject: [PATCH] Gonna lose it... --- .github/workflows/create_book.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create_book.yml b/.github/workflows/create_book.yml index 36bff29..5510202 100644 --- a/.github/workflows/create_book.yml +++ b/.github/workflows/create_book.yml @@ -1,5 +1,10 @@ name: github pages +permissions: + contents: read + pages: write + id-token: write + on: push: branches: @@ -18,10 +23,14 @@ jobs: sudo apt install gettext - name: Install mdbook - run: cargo install mdbook + uses: taiki-e/cache-cargo-install-action@v2 + with: + tool: mdbook - name: Install mdbook-i18n-helpers - run: cargo install mdbook-i18n-helpers + uses: taiki-e/cache-cargo-install-action@v2 + with: + tool: mdbook-i18n-helpers - name: Build the book run: sh scripts/full-build.sh