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

This commit is contained in:
2025-09-14 23:40:50 +02:00
parent 8bbcfee8dd
commit c16a6a5cb0

View File

@@ -18,26 +18,31 @@ jobs:
username: ${{ VARS.USER }}
password: ${{ secrets.TOKEN }}
- name: 🔎 Verify Files on Runner
run: |
echo "Verifying checked-out files exist at: ${{ github.workspace }}"
ls -laR ${{ github.workspace }}
- name: Generate Static Image Assets
run: |
docker run --rm \
-v "${PWD}:/work" \
-v "${{ github.workspace }}:/work" \
-w "/work" \
archlinux:latest \
bash -c '
set -e
echo "--- Installing dependencies in container ---"
pacman -Syu --noconfirm imagemagick libwebp ghostscript
echo "--- Files inside container at /work ---"
ls -laR
echo "--- Making scripts executable ---"
chmod +x ./scripts/first_page_image.sh
chmod +x ./scripts/generate_webp.sh
echo "--- Installing dependencies ---"
pacman -Syu --noconfirm imagemagick webp ghostscript
echo "--- Generating PNGs from PDFs ---"
echo "--- Generating assets ---"
chmod +x ./scripts/*.sh
bash ./scripts/first_page_image.sh
echo "--- Generating WebP images ---"
bash ./scripts/generate_webp.sh
echo "--- Asset generation complete ---"
'
- name: Set up Node.js