Skip to content

Merge branch 'main' of github.com:vda-lab/pyflasc #29

Merge branch 'main' of github.com:vda-lab/pyflasc

Merge branch 'main' of github.com:vda-lab/pyflasc #29

Workflow file for this run

name: Documentation
concurrency:
group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}
cancel-in-progress: true
on:
push:
branches:
- main
paths:
- 'docs/**'
- 'notebooks/**'
- 'flasc/_flasc.py'
- 'flasc/_sklearn.py'
- 'flasc/prediction.py'
- '.github/workflows/Docs.yml'
workflow_dispatch:
jobs:
pages:
runs-on: ubuntu-20.04
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
name: Install python
with:
python-version: 3.9
cache: 'pip'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
sudo apt-get install -y pandoc
pip install -e .
- name: Prepare Examples
run: |
cd notebooks
for FILE in *.ipynb; do
cp $FILE ../docs
done
cd ..
- id: deployment
uses: sphinx-notes/pages@v3
with:
cache: True
checkout: False