From cdb27ebbaf79c7ffce45698334bc7bb3700bac97 Mon Sep 17 00:00:00 2001 From: Nick Haddad Date: Mon, 8 Jul 2024 14:42:59 -0700 Subject: [PATCH] Update deploy-book.yml Only run when docs runs --- .github/workflows/deploy-book.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy-book.yml b/.github/workflows/deploy-book.yml index beca3e6..279f115 100644 --- a/.github/workflows/deploy-book.yml +++ b/.github/workflows/deploy-book.yml @@ -4,14 +4,11 @@ name: deploy-book on: push: branches: - - main - - lesson_content - # If your git repository has the Jupyter Book within some-subfolder next to - # unrelated files, you can make this run only if a file within that specific - # folder has been modified. - # + - main + - lesson_content paths: - - docs/** + - 'docs/**' + # This job installs dependencies, builds the book, and pushes it to `gh-pages` jobs: