Skip to content

ci: fix build docs action #19

ci: fix build docs action

ci: fix build docs action #19

Workflow file for this run

on:
push:
paths:
- .github/workflows/build_docs.yml
- docs
- mkdocs.yml
- requirements.txt
workflow_dispatch:
jobs:
build:
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:
# if: github.ref == 'refs/heads/main' && github.event_name == 'push'
needs: build
permissions:
id-token: write
pages: write
runs-on: ubuntu-latest
steps:
- uses: actions/deploy-pages@v2