Skip to content

Update environment.yml #4

Update environment.yml

Update environment.yml #4

Workflow file for this run

name: Jupyterbook
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
env:
CONDA_PREFIX: /usr/share/miniconda/
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: "3.11"
mamba-version: "*"
channels: conda-forge,nodefaults
channel-priority: true
environment-file: environment.yml
- name: Install Jupyterbook
shell: bash -l {0}
run: |
pip install .
jupyter-book build . --path-output public
- run: mv public/_build/html public_html
- run: touch public_html/.nojekyll
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: public_html # The folder the action should deploy.
CLEAN: true