Install nodejs in workflow container so actions/checkout can run
Build and deploy / build-and-deploy (push) Failing after 19s
Build and deploy / build-and-deploy (push) Failing after 19s
python:3.12-slim has no Node.js; JS-based actions like actions/checkout need it to execute their bundled dist/index.js.
This commit is contained in:
@@ -7,15 +7,13 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-deploy:
|
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
|
runs-on: self-hosted
|
||||||
container: python:3.12-slim
|
container: python:3.12-slim
|
||||||
steps:
|
steps:
|
||||||
- name: Install system dependencies
|
- name: Install system dependencies
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
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)
|
- name: Checkout (incl. theme submodule)
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user