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 }} username: ${{ VARS.USER }}
password: ${{ secrets.TOKEN }} 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 - name: Generate Static Image Assets
run: | run: |
docker run --rm \ docker run --rm \
-v "${PWD}:/work" \ -v "${{ github.workspace }}:/work" \
-w "/work" \ -w "/work" \
archlinux:latest \ archlinux:latest \
bash -c ' bash -c '
set -e set -e
echo "--- Installing dependencies in container ---" echo "--- Files inside container at /work ---"
pacman -Syu --noconfirm imagemagick libwebp ghostscript ls -laR
echo "--- Making scripts executable ---" echo "--- Installing dependencies ---"
chmod +x ./scripts/first_page_image.sh pacman -Syu --noconfirm imagemagick webp ghostscript
chmod +x ./scripts/generate_webp.sh
echo "--- Generating PNGs from PDFs ---" echo "--- Generating assets ---"
chmod +x ./scripts/*.sh
bash ./scripts/first_page_image.sh bash ./scripts/first_page_image.sh
echo "--- Generating WebP images ---"
bash ./scripts/generate_webp.sh bash ./scripts/generate_webp.sh
echo "--- Asset generation complete ---"
' '
- name: Set up Node.js - name: Set up Node.js