Skip to content

Add DOI to CITATION.cff #8

Add DOI to CITATION.cff

Add DOI to CITATION.cff #8

Workflow file for this run

name: Docs
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
env:
PYTHONDONTWRITEBYTECODE: 1
PYTHON_VERSION: "3.12"
jobs:
build:
name: Build MkDocs Site 🔨
runs-on: ubuntu-latest
steps:
- name: Checkout repo 🛎️
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Set up Python 🐍
uses: actions/setup-python@v6
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: pip
- name: Install dependencies 📦
run: pip install -e .[docs]
- name: Build MkDocs site 🏗️
run: mkdocs build --strict
- name: Upload artifact 📤
uses: actions/upload-pages-artifact@v4
with:
path: ./site
deploy:
name: Deploy to GitHub Pages 🚀
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages 🌐
id: deployment
uses: actions/deploy-pages@v4