fixingf the build process
Some checks failed
Next.js App CI / docker (push) Failing after 3m56s

This commit is contained in:
2025-09-14 23:14:27 +02:00
parent 1fec385212
commit 7ae5555191

View File

@@ -19,14 +19,15 @@ jobs:
password: ${{ secrets.TOKEN }}
- name: Generate Static Image Assets
uses: add-actions/run-in-container@v1
with:
image: archlinux:latest
run: |
pacman -Syu --noconfirm imagemagick webp ghostscript
chmod +x ./scripts/*.sh
bash ./scripts/first_page_image.sh
bash ./scripts/generate_webp.sh
docker run --rm \
-v "${PWD}":"/work" \
-w "/work" \
archlinux:latest \
sh -c "pacman -Syu --noconfirm imagemagick webp ghostscript && \
chmod +x ./scripts/*.sh && \
bash ./scripts/first_page_image.sh && \
bash ./scripts/generate_webp.sh"
- name: Set up Node.js
uses: actions/setup-node@v4