Skip to content

update

update #31

Workflow file for this run

name: deploy-book
on:
push:
branches:
- main
jobs:
deploy-book:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
pip install jupyter-book
pip install ghp-import
- name: Build the book
run: |
jupyter-book build . --config manuscript-website/_config.yml --toc manuscript-website/_toc.yml
- name: GitHub Pages action
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_build/html