From 6e1cdf401891735df0a65cde6642195021a17ef1 Mon Sep 17 00:00:00 2001 From: Tolaria Date: Wed, 3 Jun 2026 22:55:03 +0800 Subject: [PATCH] ci: use python:3.12 container to satisfy >=3.12 --- .forgejo/workflows/docs.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/docs.yml b/.forgejo/workflows/docs.yml index a09d451..911e162 100644 --- a/.forgejo/workflows/docs.yml +++ b/.forgejo/workflows/docs.yml @@ -5,19 +5,22 @@ on: - main jobs: deploy: - runs-on: node:22 + runs-on: + container: + image: python:3.12 steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - run: python3 --version - - run: pip3 install zensical - - run: pip3 install -e . - run: | python3 -m venv /tmp/venv . /tmp/venv/bin/activate + pip install --upgrade pip + pip install zensical + pip install -e . zensical build --clean - name: Deploy to pages branch