From 2987c8b1c27e524a115e15ba2352c8d511eb0302 Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Wed, 7 May 2025 21:54:30 +0800 Subject: chore: update Python version and dependencies in requirements and pyproject files --- .github/workflows/pages.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to '.github') diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index c17b319..f0e0a6e 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -31,6 +31,4 @@ jobs: run: | git config --local user.email "action@github.com" git config --local user.name "GitHub Action" - # git fetch origin gh-pages:gh-pages - pdm run mkdocs gh-deploy - git push origin gh-pages \ No newline at end of file + # git fetch origin gh-pages:gh-pages \ No newline at end of file -- cgit v1.2.3-70-g09d2 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(-) (limited to '.github') 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 From 525df49e8eeb44bd05909a85f63bcaca53e3ef9b Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Wed, 7 May 2025 21:57:54 +0800 Subject: chore: remove obsolete GitHub Actions workflow for Pages deployment --- .github/workflows/pages.yml | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 .github/workflows/pages.yml (limited to '.github') diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml deleted file mode 100644 index ff9252b..0000000 --- a/.github/workflows/pages.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: build Pages -on: - push: - branches: - - main - paths: - - "*.md" - - docs/** - - .github/workflows/pages.yml - -permissions: - contents: write - -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: 3.x - - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV - - uses: actions/cache@v3 - - - name: Install Dependences - run: | - pip install pdm - pdm install -dG docs - - - name: Build Documentation - run: | - git config --local user.email "action@github.com" - git config --local user.name "GitHub Action" - git fetch origin gh-pages:gh-pages - pdm run mkdocs gh-deploy - git push origin gh-pages \ No newline at end of file -- cgit v1.2.3-70-g09d2