Skip to content

Commit a2c2b98

Browse files
authored
docs: Upgrade Github actions (#61)
1 parent 80c76e8 commit a2c2b98

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

.github/workflows/gh-pages.yml

+5-8
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: Deploy Sphinx documentation to Github pages
22

33
on:
4-
push:
5-
branches:
6-
- main
4+
release:
5+
types: [created]
76

87
env:
98
UV_SYSTEM_PYTHON: 1
@@ -21,22 +20,20 @@ jobs:
2120
python-version: 3.13
2221

2322
- name: Install uv
24-
uses: astral-sh/setup-uv@v3
25-
with:
26-
version: "0.5.1"
23+
uses: astral-sh/setup-uv@v5
2724

2825
- name: Install dependencies
2926
run: uv pip install -e '.[docs]'
3027

3128
- name: Build docs
3229
run: sphinx-build docs ./docs/_build/html/
3330

34-
- uses: actions/upload-artifact@v3
31+
- uses: actions/upload-artifact@v4
3532
with:
3633
name: html-docs
3734
path: docs/_build/html/
3835

39-
- uses: peaceiris/actions-gh-pages@v3
36+
- uses: peaceiris/actions-gh-pages@v4
4037
with:
4138
github_token: ${{ secrets.GITHUB_TOKEN }}
4239
publish_dir: docs/_build/html

docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# -- Project information -----------------------------------------------------
2020

2121
project = "centraldogma-python"
22-
copyright = "2017-2024, LINE Corporation"
22+
copyright = "2017-2025, LINE Corporation"
2323
author = "Central Dogma Team"
2424

2525

0 commit comments

Comments
 (0)