Skip to content

Merge pull request #4 from KlugerLab/3-add-ks-test #1

Merge pull request #4 from KlugerLab/3-add-ks-test

Merge pull request #4 from KlugerLab/3-add-ks-test #1

# Adapted from https://coderefinery.github.io/documentation/gh_workflow/
name: documentation
on:
push:
tags:
- 'v*'
workflow_dispatch:
permissions:
contents: write
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
docs:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r docs/requirements.txt
pip install -e .
- name: Sphinx build
run: |
sphinx-build docs/source _build
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: '_build'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4