From 887d97b5bb6176c3bfae483a70130b8318b0d66b Mon Sep 17 00:00:00 2001 From: haemka Date: Thu, 13 Aug 2026 15:03:49 +0000 Subject: [PATCH] Install nodejs in workflow container so actions/checkout can run python:3.12-slim has no Node.js; JS-based actions like actions/checkout need it to execute their bundled dist/index.js. --- .gitea/workflows/build-deploy.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitea/workflows/build-deploy.yml b/.gitea/workflows/build-deploy.yml index baafa86..2e7e74d 100644 --- a/.gitea/workflows/build-deploy.yml +++ b/.gitea/workflows/build-deploy.yml @@ -7,15 +7,13 @@ on: jobs: build-and-deploy: - # Needs a self-hosted Gitea Actions runner with this label registered - # against git.haemka.in — none exists yet, set one up before enabling this. runs-on: self-hosted container: python:3.12-slim steps: - name: Install system dependencies run: | apt-get update - apt-get install -y --no-install-recommends git rsync openssh-client + apt-get install -y --no-install-recommends git rsync openssh-client nodejs - name: Checkout (incl. theme submodule) uses: actions/checkout@v4