Bump CHANGELOG #289
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| 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 }} |