From 888c6da633c3a3cbceaca4c1deb50f384f21d7b9 Mon Sep 17 00:00:00 2001 From: andrussal Date: Mon, 8 Dec 2025 09:44:17 +0100 Subject: [PATCH] Fix book Pages deploy trigger and disable Jekyll --- .github/workflows/lint.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f6df0e1..1ca2ede 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -372,16 +372,18 @@ jobs: run: npx -y markdownlint-cli2 "book/src/**/*.md" - name: Build book run: mdbook build book + - name: Add .nojekyll + run: touch target/book/.nojekyll - name: Check links run: mdbook-linkcheck -s book - name: Upload book artifact for Pages - if: github.event_name == 'push' && github.ref == 'refs/heads/main' + if: github.event_name == 'push' && github.ref == 'refs/heads/master' uses: actions/upload-pages-artifact@v3 with: path: target/book deploy_book: - if: github.event_name == 'push' && github.ref == 'refs/heads/main' + if: github.event_name == 'push' && github.ref == 'refs/heads/master' needs: book runs-on: ubuntu-latest environment: