Skip to content

ci: fix documentation building #3567

ci: fix documentation building

ci: fix documentation building #3567

Workflow file for this run

on:
pull_request:
push:
workflow_dispatch:
jobs:
build-documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
pip install -r requirements.txt
- run: |
mkdocs build
- uses: actions/upload-pages-artifact@v2
with:
path: site/
deploy-documentation:
if: github.ref == 'refs/heads/v3' && github.event_name == 'push'
needs: build-documentation
permissions:
id-token: write
pages: write
runs-on: ubuntu-latest
steps:
- uses: actions/deploy-pages@v2