Skip to content

Host code update

Host code update #212

Workflow file for this run

name: deploy
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Clean up files
run: |
jupyter-book clean ese532_handouts/ --all
- name: Build the book
run: |
jupyter-book build ese532_handouts/
- name: GitHub Pages action
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./ese532_handouts/_build/html