From a3ec22a70a4204556470dd045e79b613a0631c07 Mon Sep 17 00:00:00 2001 From: Tolaria Date: Wed, 3 Jun 2026 22:54:09 +0800 Subject: [PATCH] ci: pin runner to node:22 and drop apt-get bootstrap --- .forgejo/workflows/docs.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.forgejo/workflows/docs.yml b/.forgejo/workflows/docs.yml index 6f34b57..a09d451 100644 --- a/.forgejo/workflows/docs.yml +++ b/.forgejo/workflows/docs.yml @@ -5,21 +5,18 @@ on: - main jobs: deploy: - runs-on: ubuntu-latest + runs-on: node:22 steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - - run: | - apt-get update && apt-get install -y python3 python3-pip python3-venv - python3 -m venv /tmp/venv - . /tmp/venv/bin/activate - python3 --version - pip3 install zensical - pip3 install -e . + - run: python3 --version + - run: pip3 install zensical + - run: pip3 install -e . - run: | + python3 -m venv /tmp/venv . /tmp/venv/bin/activate zensical build --clean