Skip to content

Merge pull request #33 from philschmid/datafilter #23

Merge pull request #33 from philschmid/datafilter

Merge pull request #33 from philschmid/datafilter #23

name: Publish documentation
on:
push:
branches:
- main
paths:
- 'docs/**'
- 'notebooks/**'
release:
types:
- created
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: write
jobs:
documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
cache: "pip"
cache-dependency-path: pyproject.toml
- uses: actions/cache@v3
id: cache
with:
path: ${{ env.pythonLocation }}
key: ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-docs
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: pip install ".[docs]"
- name: publish documentation
run: make docs-deploy