Skip to content
Merged
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
7 changes: 5 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Documentation
on:
pull_request:
types: [opened, synchronize, reopened, edited, ready_for_review]
push:
branches:
- main
release:
types: [created]

Expand All @@ -29,13 +32,13 @@ jobs:
run: uv run mkdocs build --strict

- name: Upload Pages artifact
if: github.event_name == 'release'
if: github.event_name == 'release' || (github.event_name == 'push' && github.ref == 'refs/heads/main')
uses: actions/upload-pages-artifact@v3
with:
path: site

deploy-docs:
if: github.event_name == 'release'
if: github.event_name == 'release' || (github.event_name == 'push' && github.ref == 'refs/heads/main')
name: Deploy to GitHub Pages
needs: build-docs
runs-on: ubuntu-latest
Expand Down
Loading