Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ jobs:
needs: build
name: Deploy docs
runs-on: ubuntu-latest

permissions:
pages: write
id-token: write

steps:
- name: Checkout repository
uses: actions/checkout@v4.2.2
Expand Down Expand Up @@ -100,5 +105,19 @@ jobs:
run: pip install -r docs/requirements.txt
- name: Generate images-by-category.md
run: python scripts/generate-images-by-category.py
- name: Build documentation
run: mkdocs build
- name: Upload static files as artifact
uses: actions/upload-pages-artifact@v3.0.1
with:
path: site/
pages:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: deploy
steps:
- name: Deploy to GitHub Pages
run: mkdocs gh-deploy --force
id: deployment
uses: actions/deploy-pages@v4