Skip to content

Merge pull request #27 from ARCTraining/andrew_fixes #22

Merge pull request #27 from ARCTraining/andrew_fixes

Merge pull request #27 from ARCTraining/andrew_fixes #22

Workflow file for this run

name: deploy
on:
push:
branches:
- master
jobs:
deploy-book:
name: Build and Deploy Jupyter Book
runs-on: "ubuntu-latest"
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- name: Install Conda environment
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: swd6_hpp
environment-file: environment.yml
python-version: 3.9
auto-activate-base: false
auto-update-conda: false
- name: Create Jupyter kernelspec
run: |
python -m ipykernel install --user --name swd6_hpp --display-name "swd6_hpp"
- name: Build Jupyter Book
run: |
jupyter-book build docs
- name: Deploy the book's HTML to GitHub Pages action
uses: peaceiris/actions-gh-pages@v3.6.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html