Skip to content

add python version to CI config #57

add python version to CI config

add python version to CI config #57

Workflow file for this run

name: deploy
on:
push:
branches:
- main
jobs:
build-and-deploy-book:
name: Build book
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Additional info about the build
shell: bash
run: |
uname -a
df -h
ulimit -a
- uses: conda-incubator/setup-miniconda@v3
with:
auto-activate-base: false
python-version: 3.11
activate-environment: biochemist-python
environment-file: requirements.yaml
- name: Build the book
shell: bash -l {0}
run: |
jupyter-book build biochemist-python
- name: GitHub Pages action
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: biochemist-python/_build/html