shots workflow: Pillow for the icons; rerun when the icon script changes
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K6897PWcUEwHiqZMcVnNF6
This commit is contained in:
1 parent
c488529e14
commit
a178e5c9b2
1 file changed
+3
-1
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user