Merge pull request #22 from niclaz/main
Improved Github Actions / Workflow W3PN data refresh
|
@ -1,9 +1,13 @@
|
|||
name: Generate people thumbnails
|
||||
# This file manages the workflow from generating the .webp thumbnails for deployment from files in /src/people/_images
|
||||
name: W3PN data refresh
|
||||
# This file manages the workflow for update scripts wthin the MAKEFILE, run to refresh the codebase.
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 1 * *'
|
||||
workflow_run:
|
||||
workflows: ["Synchronize data"]
|
||||
types:
|
||||
- completed
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
|
@ -13,7 +17,7 @@ permissions:
|
|||
actions: write
|
||||
|
||||
jobs:
|
||||
sync:
|
||||
refresh-data:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout your repository using git
|
||||
|
@ -21,7 +25,11 @@ jobs:
|
|||
|
||||
- uses: denoland/setup-deno@v1
|
||||
with:
|
||||
deno-version: v1.x
|
||||
deno-version: v1.x
|
||||
|
||||
- uses: szenius/set-timezone@v2.0
|
||||
with:
|
||||
timezoneLinux: "Europe/Prague"
|
||||
|
||||
- name: Install cwebp
|
||||
shell: bash
|
||||
|
@ -37,10 +45,13 @@ jobs:
|
|||
rm -rf libwebp-1.2.4-linux-x86-64.tar.gz
|
||||
sudo mv cwebp /bin
|
||||
ls
|
||||
# cwebp is required by img-opt to manipulate images, script fails without this pre-requisite install
|
||||
|
||||
- name: Run image optimisation script
|
||||
run: make img-opt
|
||||
- name: run refresh script
|
||||
run: make refresh
|
||||
# executes 'deno run' on utils/engine.js /images.js /img-opt.js and /test.js
|
||||
|
||||
- uses: EndBug/add-and-commit@v9
|
||||
with:
|
||||
default_author: github_actions
|
||||
message: 'data refresh script has been executed on /data'
|
3
Makefile
|
@ -20,3 +20,6 @@ test:
|
|||
|
||||
fmt:
|
||||
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
|
||||
coincidence: "[DevCon](https://devcon.org)"
|
||||
lead: Mykola
|
||||
slots: 16
|
||||
visitors: 300
|
||||
links:
|
||||
rsvp: https://lu.ma/w3pn-meetup-devcon7
|
||||
|
@ -41,11 +40,7 @@
|
|||
- hsinju-chuang
|
||||
- michelle-lai
|
||||
- ying-tong
|
||||
- remi-gai
|
||||
- pie-man
|
||||
- oskarth
|
||||
- nate
|
||||
- gavin-birch
|
||||
|
||||
|
||||
- id: s23prg
|
||||
type: summit
|
||||
|
@ -155,7 +150,6 @@
|
|||
- Alina
|
||||
links:
|
||||
rsvp: https://lu.ma/w3pn-meetup-bucharest1
|
||||
signal: https://signal.group/#CjQKILd3qhOu7_p8OB0bob3bU3Ko0jfgfxm9DK39oK1eiMe_EhA47ns-aCFke2YA3iMnuxqJ
|
||||
speakers:
|
||||
- tim-bansemer
|
||||
- mykola-siusko
|
||||
|
@ -180,7 +174,6 @@
|
|||
slots: 3
|
||||
links:
|
||||
rsvp: https://lu.ma/w3pn-meetup-ams1
|
||||
signal: https://signal.group/#CjQKIEZbdyGk2CnVLXJ4u87cdRPPE2W4crwz7U-Tt1AFHsu2EhCxC25OkPV47uoTrNa2dww6
|
||||
speakers:
|
||||
- kieran-mesquita
|
||||
- moritz-boullenger
|
||||
|
@ -193,7 +186,6 @@
|
|||
- id: m24ber
|
||||
issue: 6
|
||||
type: meetup
|
||||
tags: [ sfe ]
|
||||
date: "2024-05-22"
|
||||
city: Berlin
|
||||
country: de
|
||||
|
@ -211,11 +203,9 @@
|
|||
- vaclav-pavlin
|
||||
- jaya-klara-brekke
|
||||
- mykola-siusko
|
||||
|
||||
slots: 4
|
||||
links:
|
||||
rsvp: https://lu.ma/w3pn-meetup-berlin1
|
||||
signal: https://signal.group/#CjQKIHv5swzLDOrTd1QqR4L9eb-6XPZERnp3ZEoxBCJeY12fEhAPmoC2dqZzLMRWV7wlAq5A
|
||||
design:
|
||||
image: berlin03
|
||||
|
||||
|
@ -235,7 +225,7 @@
|
|||
links:
|
||||
web: https://c24ber.web3privacy.info/
|
||||
design:
|
||||
image: berlin01
|
||||
image: berlin02
|
||||
|
||||
- id: s24prg
|
||||
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 |