Skip to content

Merge pull request #17 from ARCTraining/murphyqm-barplot-example #21

Merge pull request #17 from ARCTraining/murphyqm-barplot-example

Merge pull request #17 from ARCTraining/murphyqm-barplot-example #21

Workflow file for this run

name: deploy
on:
push:
branches:
- main
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: arcdocs-jb
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 data_vis --display-name "data_vis"
- name: Build Jupyter Book
run: |
jupyter-book build docs
- name: Deploy the book's HTML to GitHub Pages action
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html