Skip to content

W3PN data refresh #2607

W3PN data refresh

W3PN data refresh #2607

Workflow file for this run

name: W3PN data refresh
# This file manages the workflow for update scripts wthin the MAKEFILE
# Run to refresh the event images, speaker images, and generating the thumbs for them
on:
workflow_dispatch:
workflow_run:
workflows: ["Deploy to GitHub Pages"]
types:
- completed
schedule:
- cron: '0 */12 * * *'
permissions:
contents: write
id-token: write
pages: write
actions: write
jobs:
refresh-data:
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
- uses: szenius/set-timezone@v2.0
with:
timezoneLinux: "Europe/Prague"
- name: run MAKEFILE environment
run: make build
- name: running images.js - checking event images
run: make images
- name: running img-opt.js - optimising images and making thumbnails (events)
run: make img-opt
- name: run thumbs-gen.js - optimising images and making thumbnails (people)
run: make thumbs-gen
- name: run test.js - testing the data according to schema
run: make test
- uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
message: 'data refresh script has been executed on /data'