From d27eaada2ef1ff09b9b44c0f9d2e7a996bcbcfcf Mon Sep 17 00:00:00 2001 From: Carson Katri Date: Sun, 11 Oct 2026 13:52:56 -0400 Subject: [PATCH] Fix the GitHub Pages workflow GitHub retired the ubuntu-20.04 runner image, so deploy jobs queued forever. Run on ubuntu-latest, update the checkout, mdBook and gh-pages actions, and drop book.toml's multilingual key, which mdBook 0.5 rejects. --- .github/workflows/github_pages.yml | 8 ++++---- book/book.toml | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/github_pages.yml b/.github/workflows/github_pages.yml index b60cf98..3a0b19c 100644 --- a/.github/workflows/github_pages.yml +++ b/.github/workflows/github_pages.yml @@ -10,14 +10,14 @@ concurrency: preview-${{ github.ref }} jobs: deploy: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest concurrency: group: ${{ github.workflow }}-${{ github.ref }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup mdBook - uses: peaceiris/actions-mdbook@v1 + uses: peaceiris/actions-mdbook@v2 with: mdbook-version: 'latest' @@ -25,7 +25,7 @@ jobs: working-directory: book - name: Deploy - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 if: ${{ github.ref == 'refs/heads/main' }} with: github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/book/book.toml b/book/book.toml index d8abed4..bc3d938 100644 --- a/book/book.toml +++ b/book/book.toml @@ -1,7 +1,6 @@ [book] authors = ["Carson Katri"] language = "en" -multilingual = false src = "src" title = "Geometry Script"