aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2025-05-07 21:56:22 +0800
committerHsiangNianian <i@jyunko.cn>2025-05-07 21:56:22 +0800
commit9d2bd021412d2d3691e0d125bc5a4163c767edd4 (patch)
tree77cb73ad6380dae5b9a0b1b2d85a3f0cf512ee49
parent2987c8b1c27e524a115e15ba2352c8d511eb0302 (diff)
downloadecho-9d2bd021412d2d3691e0d125bc5a4163c767edd4.tar.gz
echo-9d2bd021412d2d3691e0d125bc5a4163c767edd4.zip
chore: update Python version to 3.11 and enhance GitHub Actions for MkDocs deployment
-rw-r--r--.github/workflows/pages.yml4
-rw-r--r--pyproject.toml2
2 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml
index f0e0a6e..ff9252b 100644
--- a/.github/workflows/pages.yml
+++ b/.github/workflows/pages.yml
@@ -31,4 +31,6 @@ jobs:
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
- # git fetch origin gh-pages:gh-pages \ No newline at end of file
+ git fetch origin gh-pages:gh-pages
+ pdm run mkdocs gh-deploy
+ git push origin gh-pages \ No newline at end of file
diff --git a/pyproject.toml b/pyproject.toml
index c30a2d6..c96e5e4 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -15,6 +15,6 @@ dependencies = [
"sphinx-intl>=2.3.1",
"tomli>=2.2.1",
]
-requires-python = ">=3.10"
+requires-python = ">=3.11"
readme = "README.md"
license = {text = "MIT"} \ No newline at end of file