Skip to content

Bump CHANGELOG

Bump CHANGELOG #289

---
name: Publish documentation to Notion
on:
push:
branches: [main]
# Run this only once at a time to avoid conflicts with Notion.
concurrency:
group: ci
cancel-in-progress: false
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
lfs: true
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Build documentation
run: |
rm -rf ./build-sample
uv run --extra=sample sphinx-build -W -b notion sample ./build-sample
- name: Publish to Notion
run: |
uv run --all-extras notion-upload \
--parent-page-id "${{ vars.NOTION_SAMPLE_PAGE_ID }}" \
--file "./build-sample/index.json" \
--title "Sphinx-Notionbuilder Sample" \
--icon "🐍"
env:
NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }}