From 53ffd53562f36ca1babd79d1db7cf40cdc0b2851 Mon Sep 17 00:00:00 2001 From: BenSchZA Date: Wed, 14 Aug 2024 14:10:57 +0100 Subject: [PATCH] Update GitHub action to only execute on main branch --- .github/workflows/jupyter-book.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/jupyter-book.yml b/.github/workflows/jupyter-book.yml index 7462740..cea17ff 100644 --- a/.github/workflows/jupyter-book.yml +++ b/.github/workflows/jupyter-book.yml @@ -2,16 +2,17 @@ name: deploy-book # Run this when the master or main branch changes on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - # 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. - # - # paths: - # - some-subfolder/** + branchs: [ main ] + # push: + # branches: [ main ] + # pull_request: + # branches: [ main ] + # 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. + # + # paths: + # - some-subfolder/** # This job installs dependencies, builds the book, and pushes it to `gh-pages` jobs: