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