again
Some checks failed
Next.js App CI / docker (push) Failing after 21s

This commit is contained in:
2025-09-14 23:34:56 +02:00
parent d44c918624
commit 91a059445e

View File

@@ -21,13 +21,24 @@ jobs:
- name: Generate Static Image Assets
run: |
docker run --rm \
-v "${PWD}":"/work" \
-v "${PWD}:/work" \
-w "/work" \
archlinux:latest \
sh -c "pacman -Syu --noconfirm imagemagick libwebp ghostscript && \
chmod +x ./scripts/*.sh && \
bash ./scripts/first_page_image.sh && \
bash ./scripts/generate_webp.sh"
bash -c '
set -e
echo "--- Installing dependencies in container ---"
pacman -Syu --noconfirm imagemagick webp ghostscript
echo "--- Making scripts executable ---"
chmod +x ./scripts/first_page_image.sh
chmod +x ./scripts/generate_webp.sh
echo "--- Generating PNGs from PDFs ---"
bash ./scripts/first_page_image.sh
echo "--- Generating WebP images ---"
bash ./scripts/generate_webp.sh
'
- name: Set up Node.js
uses: actions/setup-node@v4