From 9d2bd021412d2d3691e0d125bc5a4163c767edd4 Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Wed, 7 May 2025 21:56:22 +0800 Subject: chore: update Python version to 3.11 and enhance GitHub Actions for MkDocs deployment --- .github/workflows/pages.yml | 4 +++- pyproject.toml | 2 +- 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 -- cgit v1.2.3-70-g09d2