Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ezrichards committed Dec 28, 2024
1 parent 1ac6022 commit 5574902
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/deploybook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@ name: deploy-book
on:
push:
branches:
- master
- main
paths:
- astudentsguide/**

# This job installs dependencies, builds the book, and pushes it to `gh-pages`
jobs:
deploy-book:
runs-on: ubuntu-latest
Expand All @@ -28,20 +24,10 @@ jobs:
run: |
pip install -r requirements.txt
# (optional) Cache your executed notebooks between runs
# if you have config:
# execute:
# execute_notebooks: cache
- name: cache executed notebooks
uses: actions/cache@v3
with:
path: _build/.jupyter_cache
key: jupyter-book-cache-${{ hashFiles('requirements.txt') }}

# Build the book
- name: Build the book
run: |
jupyter-book build .
jupyter-book build astudentsguide
# Upload the book's HTML as an artifact
- name: Upload artifact
Expand Down

0 comments on commit 5574902

Please sign in to comment.