Skip to content

update container

update container #51

Workflow file for this run

name: deploy-book
# Only run this when the master branch changes
on:
push:
branches:
- master
# This job installs dependencies, build the book, and pushes it to `gh-pages`
jobs:
deploy-book:
runs-on: ubuntu-latest
container: poldrack/statsthinking21
steps:
- uses: actions/checkout@v2
# Build the book
- name: Build the book
run: |
jupytext --sync --pre-commit
jupyter-book build notebooks
# save artifacts
- name: Archive production artifacts
uses: actions/upload-artifact@v1
with:
name: notebooks
path: notebooks
# Push the book's HTML to github-pages
- name: GitHub Pages action
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./notebooks/_build/html