Merge pull request #22 from niclaz/main

Improved Github Actions / Workflow W3PN data refresh
This commit is contained in:
Mykola Siusko 2024-09-12 23:33:54 +02:00 committed by GitHub
commit f22f9429a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
48 changed files with 24 additions and 20 deletions

View file

@ -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
@ -23,6 +27,10 @@ jobs:
with:
deno-version: v1.x
- uses: szenius/set-timezone@v2.0
with:
timezoneLinux: "Europe/Prague"
- name: Install cwebp
shell: bash
run: |
@ -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'

View file

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 540 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 443 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View file

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

BIN
src/people/_images/kris.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

BIN
src/people/_images/nate.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB