Merge pull request #22 from niclaz/main
Improved Github Actions / Workflow W3PN data refresh
|
@ -1,9 +1,13 @@
|
||||||
name: Generate people thumbnails
|
name: W3PN data refresh
|
||||||
# This file manages the workflow from generating the .webp thumbnails for deployment from files in /src/people/_images
|
# This file manages the workflow for update scripts wthin the MAKEFILE, run to refresh the codebase.
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 1 * *'
|
- cron: '0 0 1 * *'
|
||||||
|
workflow_run:
|
||||||
|
workflows: ["Synchronize data"]
|
||||||
|
types:
|
||||||
|
- completed
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
|
@ -13,7 +17,7 @@ permissions:
|
||||||
actions: write
|
actions: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
sync:
|
refresh-data:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout your repository using git
|
- name: Checkout your repository using git
|
||||||
|
@ -23,6 +27,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
deno-version: v1.x
|
deno-version: v1.x
|
||||||
|
|
||||||
|
- uses: szenius/set-timezone@v2.0
|
||||||
|
with:
|
||||||
|
timezoneLinux: "Europe/Prague"
|
||||||
|
|
||||||
- name: Install cwebp
|
- name: Install cwebp
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
@ -37,10 +45,13 @@ jobs:
|
||||||
rm -rf libwebp-1.2.4-linux-x86-64.tar.gz
|
rm -rf libwebp-1.2.4-linux-x86-64.tar.gz
|
||||||
sudo mv cwebp /bin
|
sudo mv cwebp /bin
|
||||||
ls
|
ls
|
||||||
|
# cwebp is required by img-opt to manipulate images, script fails without this pre-requisite install
|
||||||
|
|
||||||
- name: Run image optimisation script
|
- name: run refresh script
|
||||||
run: make img-opt
|
run: make refresh
|
||||||
|
# executes 'deno run' on utils/engine.js /images.js /img-opt.js and /test.js
|
||||||
|
|
||||||
- uses: EndBug/add-and-commit@v9
|
- uses: EndBug/add-and-commit@v9
|
||||||
with:
|
with:
|
||||||
default_author: github_actions
|
default_author: github_actions
|
||||||
|
message: 'data refresh script has been executed on /data'
|
3
Makefile
|
@ -20,3 +20,6 @@ test:
|
||||||
|
|
||||||
fmt:
|
fmt:
|
||||||
deno fmt utils/*.js
|
deno fmt utils/*.js
|
||||||
|
|
||||||
|
refresh:
|
||||||
|
deno run --allow-all utils/engine.js ; deno run --allow-all utils/images.js ; deno run --allow-all utils/img-opt.js ; deno run --allow-all utils/test.js
|
||||||
|
|
BIN
src/events/_images/2024/pc24ber-poster-simple.png
Normal file
After Width: | Height: | Size: 540 KiB |
BIN
src/events/_images/2024/pc24ber-poster.png
Normal file
After Width: | Height: | Size: 443 KiB |
BIN
src/events/_images/2024/pc24ber-square.png
Normal file
After Width: | Height: | Size: 285 KiB |
BIN
src/events/_images/2024/pc24ber-wide-square.png
Normal file
After Width: | Height: | Size: 274 KiB |
BIN
src/events/_images/2024/pc24ber-wide.png
Normal file
After Width: | Height: | Size: 378 KiB |
BIN
src/events/_images/2024/thumbs/pc24ber-poster-128px.webp
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
src/events/_images/2024/thumbs/pc24ber-poster-360px.webp
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
src/events/_images/2024/thumbs/pc24ber-poster-640px.webp
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
src/events/_images/2024/thumbs/pc24ber-poster-simple-128px.webp
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
src/events/_images/2024/thumbs/pc24ber-poster-simple-360px.webp
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
src/events/_images/2024/thumbs/pc24ber-poster-simple-640px.webp
Normal file
After Width: | Height: | Size: 33 KiB |
BIN
src/events/_images/2024/thumbs/pc24ber-square-128px.webp
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
src/events/_images/2024/thumbs/pc24ber-square-360px.webp
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
src/events/_images/2024/thumbs/pc24ber-square-640px.webp
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
src/events/_images/2024/thumbs/pc24ber-wide-128px.webp
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
src/events/_images/2024/thumbs/pc24ber-wide-360px.webp
Normal file
After Width: | Height: | Size: 8.6 KiB |
BIN
src/events/_images/2024/thumbs/pc24ber-wide-640px.webp
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
src/events/_images/2024/thumbs/pc24ber-wide-square-128px.webp
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
src/events/_images/2024/thumbs/pc24ber-wide-square-360px.webp
Normal file
After Width: | Height: | Size: 9.9 KiB |
BIN
src/events/_images/2024/thumbs/pc24ber-wide-square-640px.webp
Normal file
After Width: | Height: | Size: 22 KiB |
|
@ -9,7 +9,6 @@
|
||||||
confirmed: true
|
confirmed: true
|
||||||
coincidence: "[DevCon](https://devcon.org)"
|
coincidence: "[DevCon](https://devcon.org)"
|
||||||
lead: Mykola
|
lead: Mykola
|
||||||
slots: 16
|
|
||||||
visitors: 300
|
visitors: 300
|
||||||
links:
|
links:
|
||||||
rsvp: https://lu.ma/w3pn-meetup-devcon7
|
rsvp: https://lu.ma/w3pn-meetup-devcon7
|
||||||
|
@ -41,11 +40,7 @@
|
||||||
- hsinju-chuang
|
- hsinju-chuang
|
||||||
- michelle-lai
|
- michelle-lai
|
||||||
- ying-tong
|
- ying-tong
|
||||||
- remi-gai
|
|
||||||
- pie-man
|
|
||||||
- oskarth
|
|
||||||
- nate
|
|
||||||
- gavin-birch
|
|
||||||
|
|
||||||
- id: s23prg
|
- id: s23prg
|
||||||
type: summit
|
type: summit
|
||||||
|
@ -155,7 +150,6 @@
|
||||||
- Alina
|
- Alina
|
||||||
links:
|
links:
|
||||||
rsvp: https://lu.ma/w3pn-meetup-bucharest1
|
rsvp: https://lu.ma/w3pn-meetup-bucharest1
|
||||||
signal: https://signal.group/#CjQKILd3qhOu7_p8OB0bob3bU3Ko0jfgfxm9DK39oK1eiMe_EhA47ns-aCFke2YA3iMnuxqJ
|
|
||||||
speakers:
|
speakers:
|
||||||
- tim-bansemer
|
- tim-bansemer
|
||||||
- mykola-siusko
|
- mykola-siusko
|
||||||
|
@ -180,7 +174,6 @@
|
||||||
slots: 3
|
slots: 3
|
||||||
links:
|
links:
|
||||||
rsvp: https://lu.ma/w3pn-meetup-ams1
|
rsvp: https://lu.ma/w3pn-meetup-ams1
|
||||||
signal: https://signal.group/#CjQKIEZbdyGk2CnVLXJ4u87cdRPPE2W4crwz7U-Tt1AFHsu2EhCxC25OkPV47uoTrNa2dww6
|
|
||||||
speakers:
|
speakers:
|
||||||
- kieran-mesquita
|
- kieran-mesquita
|
||||||
- moritz-boullenger
|
- moritz-boullenger
|
||||||
|
@ -193,7 +186,6 @@
|
||||||
- id: m24ber
|
- id: m24ber
|
||||||
issue: 6
|
issue: 6
|
||||||
type: meetup
|
type: meetup
|
||||||
tags: [ sfe ]
|
|
||||||
date: "2024-05-22"
|
date: "2024-05-22"
|
||||||
city: Berlin
|
city: Berlin
|
||||||
country: de
|
country: de
|
||||||
|
@ -211,11 +203,9 @@
|
||||||
- vaclav-pavlin
|
- vaclav-pavlin
|
||||||
- jaya-klara-brekke
|
- jaya-klara-brekke
|
||||||
- mykola-siusko
|
- mykola-siusko
|
||||||
|
|
||||||
slots: 4
|
slots: 4
|
||||||
links:
|
links:
|
||||||
rsvp: https://lu.ma/w3pn-meetup-berlin1
|
rsvp: https://lu.ma/w3pn-meetup-berlin1
|
||||||
signal: https://signal.group/#CjQKIHv5swzLDOrTd1QqR4L9eb-6XPZERnp3ZEoxBCJeY12fEhAPmoC2dqZzLMRWV7wlAq5A
|
|
||||||
design:
|
design:
|
||||||
image: berlin03
|
image: berlin03
|
||||||
|
|
||||||
|
@ -235,7 +225,7 @@
|
||||||
links:
|
links:
|
||||||
web: https://c24ber.web3privacy.info/
|
web: https://c24ber.web3privacy.info/
|
||||||
design:
|
design:
|
||||||
image: berlin01
|
image: berlin02
|
||||||
|
|
||||||
- id: s24prg
|
- id: s24prg
|
||||||
issue: 11
|
issue: 11
|
||||||
|
|
BIN
src/people/_images/Catsnaks.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
src/people/_images/adrian-brink.jpg
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
src/people/_images/ahmed-ghappour.jpg
Normal file
After Width: | Height: | Size: 9.8 KiB |
BIN
src/people/_images/alex-gluchowski.jpg
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
src/people/_images/amit-chaudhary.jpg
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
src/people/_images/ann-brody.jpg
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
src/people/_images/auryn-macmillan.jpg
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
src/people/_images/bob-summerwill.jpg
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
src/people/_images/claire-kart.jpg
Normal file
After Width: | Height: | Size: 39 KiB |
BIN
src/people/_images/daniel-luca.jpg
Normal file
After Width: | Height: | Size: 33 KiB |
BIN
src/people/_images/dapplion.jpg
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
src/people/_images/gavin-birch.png
Normal file
After Width: | Height: | Size: 35 KiB |
BIN
src/people/_images/hsinju-chuang.jpg
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
src/people/_images/kris.jpg
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
src/people/_images/kurt-opsahl.jpg
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
src/people/_images/lasha-antatze.jpg
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
src/people/_images/lefteris-karapetsas.jpg
Normal file
After Width: | Height: | Size: 80 KiB |
BIN
src/people/_images/michelle-lai.jpg
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
src/people/_images/nate.jpg
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
src/people/_images/oskarth.jpg
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
src/people/_images/pie-man.jpg
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
src/people/_images/remi-gai.jpg
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
src/people/_images/scott-moore.jpg
Normal file
After Width: | Height: | Size: 55 KiB |
BIN
src/people/_images/silke-noa.jpg
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
src/people/_images/ying-tong.jpg
Normal file
After Width: | Height: | Size: 42 KiB |