From a178e5c9b297b26b351f036247f3f6e132dfb38e Mon Sep 17 00:00:00 2001 From: teahubxyz Date: Wed, 21 Oct 2026 01:58:09 +0000 Subject: [PATCH] shots workflow: Pillow for the icons; rerun when the icon script changes Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01K6897PWcUEwHiqZMcVnNF6 --- .gitea/workflows/shots.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/shots.yml b/.gitea/workflows/shots.yml index abc76d1..7096a6a 100644 --- a/.gitea/workflows/shots.yml +++ b/.gitea/workflows/shots.yml @@ -6,7 +6,7 @@ on: workflow_dispatch: push: branches: [main] - paths: [index.html, brain.js, favicon.svg, icons/icon.svg, icons/icon.html, tools/shots.sh] + paths: [index.html, brain.js, favicon.svg, icons/icon.svg, tools/shots.sh, tools/icons.py] permissions: contents: write concurrency: @@ -33,6 +33,8 @@ jobs: c=$(find "$HOME/.cache/ms-playwright" -type f -name chrome -path '*chrome-linux*' | head -1) [ -n "$c" ] && [ -x "$c" ] || { echo "::error::no Chromium after the install"; exit 1; } echo "CHROME=$c" >> "$GITHUB_ENV" + - name: pillow + run: python3 -m pip install -q --break-system-packages pillow 2>/dev/null || python3 -m pip install -q pillow - name: shoot env: CHROME_FLAGS: "--no-sandbox --disable-dev-shm-usage --disable-gpu"