Skip to content

Update coiled tutorials (#278) #208

Update coiled tutorials (#278)

Update coiled tutorials (#278) #208

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v2
- name: Setup Conda Environment
uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
mamba-version: "*"
environment-file: binder/environment.yml
activate-environment: dask-tutorial
auto-activate-base: false
- name: Install testing and docs dependencies
shell: bash -l {0}
run: |
mamba install -c conda-forge nbconvert nbformat jupyter_client ipykernel
pip install nbsphinx dask-sphinx-theme>=3.0.5 sphinx
- name: Build
shell: bash -l {0}
run: |
python prep.py --small
sphinx-build -M html . _build -v
- name: Deploy
if: ${{ github.ref == 'refs/heads/main' && github.event_name != 'pull_request'}}
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: _build/html
CLEAN: true