diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index eea5b71..3f7ff7d 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -1,9 +1,8 @@ name: Deploy Sphinx documentation to Github pages on: - push: - branches: - - main + release: + types: [created] env: UV_SYSTEM_PYTHON: 1 @@ -21,9 +20,7 @@ jobs: python-version: 3.13 - name: Install uv - uses: astral-sh/setup-uv@v3 - with: - version: "0.5.1" + uses: astral-sh/setup-uv@v5 - name: Install dependencies run: uv pip install -e '.[docs]' @@ -31,12 +28,12 @@ jobs: - name: Build docs run: sphinx-build docs ./docs/_build/html/ - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: html-docs path: docs/_build/html/ - - uses: peaceiris/actions-gh-pages@v3 + - uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: docs/_build/html diff --git a/docs/conf.py b/docs/conf.py index 06f6cf3..fe419c7 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -19,7 +19,7 @@ # -- Project information ----------------------------------------------------- project = "centraldogma-python" -copyright = "2017-2024, LINE Corporation" +copyright = "2017-2025, LINE Corporation" author = "Central Dogma Team"