Skip to content

Commit

Permalink
Update GitHub action to only execute on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSchZA committed Aug 14, 2024
1 parent 92ded64 commit 53ffd53
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/jupyter-book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 53ffd53

Please sign in to comment.