From a14035d546c4ddd6f9d278473bea15728c03c335 Mon Sep 17 00:00:00 2001 From: Tom Parker-Shemilt Date: Tue, 3 Aug 2021 18:39:33 +0100 Subject: [PATCH] Run book build on all branches --- .github/workflows/book.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/book.yml b/.github/workflows/book.yml index c65b532..748e627 100644 --- a/.github/workflows/book.yml +++ b/.github/workflows/book.yml @@ -2,8 +2,7 @@ name: Build and deploy documentation book on: push: - branches: - - master + pull_request: jobs: book: @@ -31,6 +30,7 @@ jobs: - name: Deploy book uses: JamesIves/github-pages-deploy-action@4.1.4 + if: ${{ github.ref == 'refs/heads/master' }} with: branch: gh-pages folder: docs