From 225d15f68aa7b961f932ef5a3626fbc73e3e0a09 Mon Sep 17 00:00:00 2001 From: niclaz <83479948+niclaz@users.noreply.github.com> Date: Fri, 11 Oct 2024 13:28:17 +0200 Subject: [PATCH] Updated W3PN data-refresh logic with more steps --- .github/workflows/data-refresh.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/data-refresh.yml b/.github/workflows/data-refresh.yml index b19b6c5..6657157 100644 --- a/.github/workflows/data-refresh.yml +++ b/.github/workflows/data-refresh.yml @@ -1,5 +1,6 @@ name: W3PN data refresh -# This file manages the workflow for update scripts wthin the MAKEFILE, run to refresh the codebase. +# 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: schedule: @@ -47,9 +48,17 @@ jobs: ls # cwebp is required by img-opt to manipulate images, script fails without this pre-requisite install - - name: run refresh script - run: make refresh - # executes 'deno run' on utils/engine.js /images.js /img-opt.js and /test.js + - name: run MAKEFILE environment + run: make build + # executes deno run --allow-all utils/build.js + - name: run images.js + run: make images + + - name: run img-opt.js + run: make img-opt + + - name: run test.js + run: make test - uses: EndBug/add-and-commit@v9 with: