Update CITATION.cff #13
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: 📚 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" |