Skip to content

Update CITATION.cff #13

Update CITATION.cff

Update CITATION.cff #13

Workflow file for this run

name: 📚 Publish docs
on:
push:
branches:
- main
- dev
# paths:
# - "docs/**"
workflow_dispatch:
# This job installs dependencies, build the book, and pushes it to `gh-pages`
jobs:
build-and-deploy-book:
runs-on: ubuntu-latest
permissions:
pages: write
contents: write
id-token: write
steps:
- name: "Checkout"
uses: actions/checkout@v4
# Install dependencies
- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: "Install Poetry"
run: python -m pip install poetry && python -m poetry install --with docs && ls
- name: "Build the book"
run: pip install jupyter-book && jupyter-book build docs
- name: "GitHub Pages action"
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: "docs/_build/html"