Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: build-docs

# Run on pull requests to verify the build succeeds
on:
pull_request:

# Build the docs to verify they compile without errors
jobs:
build-book:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v2
- name: Build the jupyter-book
uses: addnab/docker-run-action@v3
with:
image: craigwillis/jupyter-book:latest
options: -v ${{ github.workspace }}:/src
run: jupyter-book build --all .
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: deploy-docs

# Only run this when the master branch changes
# Only run this when the main branch changes
on:
push:
branches:
Expand Down