Add continuous integration for new AiiDA example #75
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Jupyterbook | |
on: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
auto-update-conda: true | |
python-version: "3.11" | |
environment-file: book/environment.yml | |
auto-activate-base: false | |
- name: Install Jupyterbook | |
shell: bash -l {0} | |
run: | | |
cp book/_config.yml . | |
cp book/_toc.yml . | |
cp book/*.md . | |
cp -r book/images . | |
jupyter-book build . --path-output public | |
- run: mv public/_build/html public_html | |
- run: touch public_html/.nojekyll |