Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Upgrade Github actions #61

Merged
merged 1 commit into from
Feb 20, 2025
Merged
Show file tree
Hide file tree
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
13 changes: 5 additions & 8 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: Deploy Sphinx documentation to Github pages

on:
push:
branches:
- main
release:
types: [created]

env:
UV_SYSTEM_PYTHON: 1
Expand All @@ -21,22 +20,20 @@ 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]'

- 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
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# -- Project information -----------------------------------------------------

project = "centraldogma-python"
copyright = "2017-2024, LINE Corporation"
copyright = "2017-2025, LINE Corporation"
author = "Central Dogma Team"


Expand Down