Skip to content

Commit

Permalink
Test jupyter book build.
Browse files Browse the repository at this point in the history
  • Loading branch information
morriscb committed Dec 11, 2024
1 parent 30e565b commit 4820d4d
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/deploy_book.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ name: deploy-book
on:
push:
branches:
- main
- main
pull_request:

# This job installs dependencies, builds the book, and pushes it to `gh-pages`
jobs:
Expand All @@ -21,7 +22,7 @@ jobs:

- name: Install dependencies
run: |
pip install -r requirements.txt
pip install ".[jupyter-book]"
# Build the book
- name: Build the book
Expand All @@ -34,8 +35,8 @@ jobs:
./scripts/remove_download.sh
# Push the book's HTML to github-pages
- name: GitHub Pages action
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_build/html
# - name: GitHub Pages action
# uses: peaceiris/[email protected]
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./_build/html

0 comments on commit 4820d4d

Please sign in to comment.