Merge pull request #20 from niclaz/main
New Github Actions / Workflow - people-thumbs.yml
46
.github/workflows/people-thumbs.yml
vendored
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
name: Generate people thumbnails
|
||||||
|
# This file manages the workflow from generating the .webp thumbnails for deployment from files in /src/people/_images
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 1 * *'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
id-token: write
|
||||||
|
pages: write
|
||||||
|
actions: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
sync:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout your repository using git
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- uses: denoland/setup-deno@v1
|
||||||
|
with:
|
||||||
|
deno-version: v1.x
|
||||||
|
|
||||||
|
- name: Install cwebp
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
pwd
|
||||||
|
sudo apt-get install libjpeg-dev libpng-dev libtiff-dev libgif-dev
|
||||||
|
wget https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.2.4-linux-x86-64.tar.gz
|
||||||
|
tar xzvf libwebp-1.2.4-linux-x86-64.tar.gz
|
||||||
|
cd libwebp-1.2.4-linux-x86-64/bin
|
||||||
|
mv cwebp ${{ github.workspace }}
|
||||||
|
cd ../..
|
||||||
|
rm -rf libwebp-1.2.4-linux-x86-64
|
||||||
|
rm -rf libwebp-1.2.4-linux-x86-64.tar.gz
|
||||||
|
sudo mv cwebp /bin
|
||||||
|
ls
|
||||||
|
|
||||||
|
- name: Run image optimisation script
|
||||||
|
run: make img-opt
|
||||||
|
|
||||||
|
- uses: EndBug/add-and-commit@v9
|
||||||
|
with:
|
||||||
|
default_author: github_actions
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
BIN
src/events/_images/2024/thumbs/c24bkk-poster-128px.webp
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
src/events/_images/2024/thumbs/c24bkk-poster-360px.webp
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
src/events/_images/2024/thumbs/c24bkk-poster-640px.webp
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
src/events/_images/2024/thumbs/c24bkk-poster-simple-128px.webp
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
src/events/_images/2024/thumbs/c24bkk-poster-simple-360px.webp
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
src/events/_images/2024/thumbs/c24bkk-poster-simple-640px.webp
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
src/events/_images/2024/thumbs/c24bkk-square-128px.webp
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
src/events/_images/2024/thumbs/c24bkk-square-360px.webp
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
src/events/_images/2024/thumbs/c24bkk-square-640px.webp
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
src/events/_images/2024/thumbs/c24bkk-wide-128px.webp
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
src/events/_images/2024/thumbs/c24bkk-wide-360px.webp
Normal file
After Width: | Height: | Size: 7.4 KiB |
BIN
src/events/_images/2024/thumbs/c24bkk-wide-640px.webp
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
src/events/_images/2024/thumbs/c24bkk-wide-square-128px.webp
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
src/events/_images/2024/thumbs/c24bkk-wide-square-360px.webp
Normal file
After Width: | Height: | Size: 9.1 KiB |
BIN
src/events/_images/2024/thumbs/c24bkk-wide-square-640px.webp
Normal file
After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.9 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 5 KiB After Width: | Height: | Size: 5 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 4 KiB After Width: | Height: | Size: 4 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 6 KiB After Width: | Height: | Size: 6 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 5 KiB After Width: | Height: | Size: 5 KiB |
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
BIN
src/people/_images/thumbs/andreas-tsamados-128px.webp
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
src/people/_images/thumbs/andreas-tsamados-400px.webp
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
src/people/_images/thumbs/andreas-tsamados-64px.webp
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
src/people/_images/thumbs/arturo-filasto-128px.webp
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
src/people/_images/thumbs/arturo-filasto-400px.webp
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
src/people/_images/thumbs/arturo-filasto-64px.webp
Normal file
After Width: | Height: | Size: 1,004 B |
BIN
src/people/_images/thumbs/emanuele-russo-128px.webp
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
src/people/_images/thumbs/emanuele-russo-400px.webp
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
src/people/_images/thumbs/emanuele-russo-64px.webp
Normal file
After Width: | Height: | Size: 1 KiB |
BIN
src/people/_images/thumbs/jaya-klara-brekke-128px.webp
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
src/people/_images/thumbs/jaya-klara-brekke-400px.webp
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
src/people/_images/thumbs/jaya-klara-brekke-64px.webp
Normal file
After Width: | Height: | Size: 804 B |
BIN
src/people/_images/thumbs/luca-lezzerini-128px.webp
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
src/people/_images/thumbs/luca-lezzerini-400px.webp
Normal file
After Width: | Height: | Size: 2.6 KiB |