From 61cc1994f6fc0655247b744a468a0bbeadf2e2fc Mon Sep 17 00:00:00 2001 From: Sapnil Aditya Ayman Date: Thu, 15 Jan 2026 14:38:52 +0100 Subject: [PATCH 01/22] Add schedule to redeploy every nigth at 02:00 --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab2812c4..7325ab90 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,8 @@ on: branches: [master] pull_request: workflow_dispatch: + schedule: + - cron: 0 2 * * * permissions: contents: read From a7f1ae58b22a754b9d369eff553e7f06e23d43de Mon Sep 17 00:00:00 2001 From: Sapnil Aditya Ayman Date: Wed, 21 Jan 2026 17:47:36 +0100 Subject: [PATCH 02/22] Add function which checks if new event is added in peoply --- .github/fetch-events.js | 20 ++++++++++++++++++++ .github/workflows/ci.yml | 14 +++++++++++++- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/.github/fetch-events.js b/.github/fetch-events.js index 0a60a329..df57bc38 100644 --- a/.github/fetch-events.js +++ b/.github/fetch-events.js @@ -9,6 +9,20 @@ const params = new URLSearchParams({ }); const url = `${peoplyUrl}?${params}`; +let event; + +// Checks if a new event has occured in Peoply: +const hasNewEvent = (event) => { + console.log("Fetched latest event:", event); + + const currentDate = new Date().toLocaleString("no-NB", { timeZone: "Europe/Oslo" }); + const eventDate = new Date(event.startDate).toLocaleString("no-NB", { timeZone: "Europe/Oslo" }); + + console.log("Current: ", currentDate); + console.log("Event: ", eventDate); + + return currentDate < eventDate; +}; fetch(url) .then((res) => res.json()) @@ -25,8 +39,14 @@ fetch(url) fs.writeFileSync("_data/events.json", JSON.stringify(updatedData, 2)); console.log("Events written to _data/events.json"); + + // Get first event from Peoply as events are ordered by date + const values = Object.values(updatedData); + event = values[0]; + hasNewEvent(event); }) .catch((err) => { console.error("Failed to fetch events:", err); process.exit(1); }); + diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7325ab90..31be4f28 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,18 @@ concurrency: cancel-in-progress: false jobs: + fetch-events: + if: github.event_name == 'schedule' + runs-on: ubuntu-latest + steps: + - name: Fetch events from Peoply API + run: node .github/fetch-events.js + + - name: Check if a newer event is published + run: node .github/check-events.js + build: + if: github.event_name != 'schedule' runs-on: ubuntu-latest steps: - name: Checkout @@ -62,7 +73,8 @@ jobs: needs: build if: >- github.event_name == 'push' && - (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') + (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') && + github.event_name != 'schedule' steps: - name: Deploy to GitHub Pages id: deployment From bebddf66d867eef826bae3d39c0e55ed2176086a Mon Sep 17 00:00:00 2001 From: Sapnil Aditya Ayman Date: Thu, 22 Jan 2026 14:02:06 +0100 Subject: [PATCH 03/22] Compare eventId for redeployment instead of event date --- .github/fetch-events.js | 43 +++++++++++++++++++++++++---------------- _data/eventId.txt | 0 2 files changed, 26 insertions(+), 17 deletions(-) create mode 100644 _data/eventId.txt diff --git a/.github/fetch-events.js b/.github/fetch-events.js index df57bc38..75b90e8b 100644 --- a/.github/fetch-events.js +++ b/.github/fetch-events.js @@ -9,25 +9,37 @@ const params = new URLSearchParams({ }); const url = `${peoplyUrl}?${params}`; -let event; +const eventIdFile = "_data/eventId.txt"; -// Checks if a new event has occured in Peoply: -const hasNewEvent = (event) => { - console.log("Fetched latest event:", event); +let prevEventId = ""; - const currentDate = new Date().toLocaleString("no-NB", { timeZone: "Europe/Oslo" }); - const eventDate = new Date(event.startDate).toLocaleString("no-NB", { timeZone: "Europe/Oslo" }); - - console.log("Current: ", currentDate); - console.log("Event: ", eventDate); - - return currentDate < eventDate; +if (fs.existsSync(eventIdFile)) { + prevEventId = fs.readFileSync(eventIdFile, "utf-8").trim(); }; fetch(url) .then((res) => res.json()) .then((data) => { - console.log("Fetched events:", data); + // console.log("Fetched events:", data); + + if (!data || data.length === 0) { + console.log("No data returned from Peoply.") + process.exit(0); + }; + + // Accesss latest event ID + const latestEvent = data[0]; + const latestEventId = latestEvent.id; + + // Stop if no new event + if (latestEventId === prevEventId) { + console.log("No new events in Peoply."); + process.exit(0); + }; + + // New event found + console.log("New event added in Peoply."); + fs.writeFileSync(eventIdFile, latestEventId); // Adjust event time to follow timezone in Norway: const updatedData = data.map(event => { @@ -38,12 +50,9 @@ fetch(url) }) fs.writeFileSync("_data/events.json", JSON.stringify(updatedData, 2)); - console.log("Events written to _data/events.json"); + // console.log("Events written to _data/events.json"); - // Get first event from Peoply as events are ordered by date - const values = Object.values(updatedData); - event = values[0]; - hasNewEvent(event); + process.exit(1); }) .catch((err) => { console.error("Failed to fetch events:", err); diff --git a/_data/eventId.txt b/_data/eventId.txt new file mode 100644 index 00000000..e69de29b From 3c3ac50d7ef8fb8a1348bd2a698636e026625f6b Mon Sep 17 00:00:00 2001 From: Sapnil Aditya Ayman Date: Fri, 23 Jan 2026 14:43:52 +0100 Subject: [PATCH 04/22] Reset ci.yml-file --- .github/workflows/ci.yml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 31be4f28..ab2812c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,8 +5,6 @@ on: branches: [master] pull_request: workflow_dispatch: - schedule: - - cron: 0 2 * * * permissions: contents: read @@ -18,18 +16,7 @@ concurrency: cancel-in-progress: false jobs: - fetch-events: - if: github.event_name == 'schedule' - runs-on: ubuntu-latest - steps: - - name: Fetch events from Peoply API - run: node .github/fetch-events.js - - - name: Check if a newer event is published - run: node .github/check-events.js - build: - if: github.event_name != 'schedule' runs-on: ubuntu-latest steps: - name: Checkout @@ -73,8 +60,7 @@ jobs: needs: build if: >- github.event_name == 'push' && - (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') && - github.event_name != 'schedule' + (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') steps: - name: Deploy to GitHub Pages id: deployment From 76ba2d7f609a255815e9c5eda4df204a342335b3 Mon Sep 17 00:00:00 2001 From: Sapnil Aditya Ayman Date: Fri, 23 Jan 2026 15:09:18 +0100 Subject: [PATCH 05/22] Create new workflow file for checking events on Peoply --- .github/workflows/check-update.yml | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/check-update.yml diff --git a/.github/workflows/check-update.yml b/.github/workflows/check-update.yml new file mode 100644 index 00000000..73dbf724 --- /dev/null +++ b/.github/workflows/check-update.yml @@ -0,0 +1,31 @@ +name: Check for new events on Peoply + +on: + schedule: + - cron: 0 2 * * * + workflow_dispatch: + +jobs: + check-events: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: "18" + + - name: Run Peoply event check + id: check + run: node .github/fetch-events.js + continue-on-error: true + + - name: Trigger main build workflow + if: steps.check.outcome == 'failure' + uses: benc-uk/workflow-dispatch@v1 + with: + workflow: Build and Deploy Jekyll site + ref: periodic-redeployment From af90f0594e01df098ce9a77a894cfadf80f9c40a Mon Sep 17 00:00:00 2001 From: Sapnil Aditya Ayman Date: Fri, 23 Jan 2026 15:12:55 +0100 Subject: [PATCH 06/22] Update ci.yml to also deploy if new event is found in Peoply --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab2812c4..c78cebb9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,7 +60,8 @@ jobs: needs: build if: >- github.event_name == 'push' && - (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') + (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') || + github.event_name == 'workflow_dispatch' steps: - name: Deploy to GitHub Pages id: deployment From dc9cc60db452b981662577b69e0d3364c0136da1 Mon Sep 17 00:00:00 2001 From: Sapnil Aditya Ayman Date: Fri, 23 Jan 2026 15:16:03 +0100 Subject: [PATCH 07/22] Fix typo in fetch-events.js --- .github/fetch-events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/fetch-events.js b/.github/fetch-events.js index 75b90e8b..93631639 100644 --- a/.github/fetch-events.js +++ b/.github/fetch-events.js @@ -52,7 +52,7 @@ fetch(url) fs.writeFileSync("_data/events.json", JSON.stringify(updatedData, 2)); // console.log("Events written to _data/events.json"); - process.exit(1); + process.exit(0); }) .catch((err) => { console.error("Failed to fetch events:", err); From fbcb340c56a1794ce94a790246f95f05ee005ab0 Mon Sep 17 00:00:00 2001 From: Sapnil Aditya Ayman Date: Fri, 23 Jan 2026 15:26:24 +0100 Subject: [PATCH 08/22] Add permissions with least privileges --- .github/workflows/check-update.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/check-update.yml b/.github/workflows/check-update.yml index 73dbf724..abb77b7f 100644 --- a/.github/workflows/check-update.yml +++ b/.github/workflows/check-update.yml @@ -1,5 +1,9 @@ name: Check for new events on Peoply +permissions: + contents: read + actions: write + on: schedule: - cron: 0 2 * * * From 3befba1cc5bf0d046078497ebf4403950770c71f Mon Sep 17 00:00:00 2001 From: Sapnil Aditya Ayman Date: Fri, 23 Jan 2026 15:36:42 +0100 Subject: [PATCH 09/22] Fix process exit 1 to 0 in catch block --- .github/fetch-events.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/fetch-events.js b/.github/fetch-events.js index 93631639..96ecddf8 100644 --- a/.github/fetch-events.js +++ b/.github/fetch-events.js @@ -52,10 +52,9 @@ fetch(url) fs.writeFileSync("_data/events.json", JSON.stringify(updatedData, 2)); // console.log("Events written to _data/events.json"); - process.exit(0); + process.exit(1); }) .catch((err) => { console.error("Failed to fetch events:", err); - process.exit(1); + process.exit(0); }); - From 7a18e417b2670dca176ee5a2b0382a494770da9d Mon Sep 17 00:00:00 2001 From: Sapnil Aditya Ayman Date: Fri, 23 Jan 2026 15:37:31 +0100 Subject: [PATCH 10/22] Change ref branch for event workflow to this one for testing --- .github/workflows/check-update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-update.yml b/.github/workflows/check-update.yml index abb77b7f..8fad5396 100644 --- a/.github/workflows/check-update.yml +++ b/.github/workflows/check-update.yml @@ -32,4 +32,4 @@ jobs: uses: benc-uk/workflow-dispatch@v1 with: workflow: Build and Deploy Jekyll site - ref: periodic-redeployment + ref: test-workflow From 105a0c7c78e24e6eca16ee5237e218cbbd0089c5 Mon Sep 17 00:00:00 2001 From: Sapnil Aditya Ayman Date: Fri, 23 Jan 2026 15:49:40 +0100 Subject: [PATCH 11/22] Fix indentation and missing cron string in .yml file for event check --- .github/workflows/check-update.yml | 48 +++++++++++++++--------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/check-update.yml b/.github/workflows/check-update.yml index 8fad5396..e6334d35 100644 --- a/.github/workflows/check-update.yml +++ b/.github/workflows/check-update.yml @@ -1,35 +1,35 @@ name: Check for new events on Peoply permissions: - contents: read - actions: write + contents: read + actions: write on: - schedule: - - cron: 0 2 * * * - workflow_dispatch: + schedule: + - cron: "0 2 * * *" + workflow_dispatch: jobs: - check-events: - runs-on: ubuntu-latest + check-events: + runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 + steps: + - name: Checkout + uses: actions/checkout@v4 - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: "18" + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: "18" - - name: Run Peoply event check - id: check - run: node .github/fetch-events.js - continue-on-error: true + - name: Run Peoply event check + id: check + run: node .github/fetch-events.js + continue-on-error: true - - name: Trigger main build workflow - if: steps.check.outcome == 'failure' - uses: benc-uk/workflow-dispatch@v1 - with: - workflow: Build and Deploy Jekyll site - ref: test-workflow + - name: Trigger main build workflow + if: steps.check.outcome == 'failure' + uses: benc-uk/workflow-dispatch@v1 + with: + workflow: Build and Deploy Jekyll site + ref: test-workflow From bc1d03b58da32d723e9e3fabb2e8cd3939c45064 Mon Sep 17 00:00:00 2001 From: Sapnil Aditya Ayman Date: Fri, 23 Jan 2026 16:12:41 +0100 Subject: [PATCH 12/22] Add null arg in stringify method --- .github/fetch-events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/fetch-events.js b/.github/fetch-events.js index 96ecddf8..55394e51 100644 --- a/.github/fetch-events.js +++ b/.github/fetch-events.js @@ -49,7 +49,7 @@ fetch(url) return {...event, startDate: updatedStartDate }; }) - fs.writeFileSync("_data/events.json", JSON.stringify(updatedData, 2)); + fs.writeFileSync("_data/events.json", JSON.stringify(updatedData, null, 2)); // console.log("Events written to _data/events.json"); process.exit(1); From f7b30a68ac4fd861393cd05a70e8123b22f6c6f4 Mon Sep 17 00:00:00 2001 From: Sapnil Aditya Ayman Date: Fri, 23 Jan 2026 16:25:22 +0100 Subject: [PATCH 13/22] Test workflow visibility --- .github/workflows/test.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..e6334d35 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,35 @@ +name: Check for new events on Peoply + +permissions: + contents: read + actions: write + +on: + schedule: + - cron: "0 2 * * *" + workflow_dispatch: + +jobs: + check-events: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: "18" + + - name: Run Peoply event check + id: check + run: node .github/fetch-events.js + continue-on-error: true + + - name: Trigger main build workflow + if: steps.check.outcome == 'failure' + uses: benc-uk/workflow-dispatch@v1 + with: + workflow: Build and Deploy Jekyll site + ref: test-workflow From caa1bd1e7268fb28c87ee3619de006a838843874 Mon Sep 17 00:00:00 2001 From: Sapnil Aditya Ayman Date: Fri, 23 Jan 2026 16:27:05 +0100 Subject: [PATCH 14/22] Delete test workflow and add continue on error in ci.yml --- .github/workflows/ci.yml | 1 + .github/workflows/test.yml | 35 ----------------------------------- 2 files changed, 1 insertion(+), 35 deletions(-) delete mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c78cebb9..986985dc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,6 +29,7 @@ jobs: - name: Fetch Events from Peoply API run: node .github/fetch-events.js + continue-on-error: true - name: Setup Ruby uses: ruby/setup-ruby@v1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index e6334d35..00000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Check for new events on Peoply - -permissions: - contents: read - actions: write - -on: - schedule: - - cron: "0 2 * * *" - workflow_dispatch: - -jobs: - check-events: - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: "18" - - - name: Run Peoply event check - id: check - run: node .github/fetch-events.js - continue-on-error: true - - - name: Trigger main build workflow - if: steps.check.outcome == 'failure' - uses: benc-uk/workflow-dispatch@v1 - with: - workflow: Build and Deploy Jekyll site - ref: test-workflow From c3a33d185cbc6568eae9a47dfe717d7930708b53 Mon Sep 17 00:00:00 2001 From: Sapnil Aditya Ayman Date: Fri, 23 Jan 2026 16:33:35 +0100 Subject: [PATCH 15/22] Remove continue-on-error: true from ci.yml --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 986985dc..c78cebb9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,6 @@ jobs: - name: Fetch Events from Peoply API run: node .github/fetch-events.js - continue-on-error: true - name: Setup Ruby uses: ruby/setup-ruby@v1 From c1a9178f1eb483f554a30df636598656fa71aa0a Mon Sep 17 00:00:00 2001 From: Sapnil Aditya Ayman Date: Fri, 23 Jan 2026 16:40:55 +0100 Subject: [PATCH 16/22] Update check-update.yml --- .github/workflows/check-update.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-update.yml b/.github/workflows/check-update.yml index e6334d35..110bc848 100644 --- a/.github/workflows/check-update.yml +++ b/.github/workflows/check-update.yml @@ -5,9 +5,9 @@ permissions: actions: write on: + workflow_dispatch: schedule: - cron: "0 2 * * *" - workflow_dispatch: jobs: check-events: @@ -28,7 +28,7 @@ jobs: continue-on-error: true - name: Trigger main build workflow - if: steps.check.outcome == 'failure' + if: steps.check.conclusion == 'failure' uses: benc-uk/workflow-dispatch@v1 with: workflow: Build and Deploy Jekyll site From cac2e83ae8b347652ecebd61437f0b3626d13b08 Mon Sep 17 00:00:00 2001 From: Sapnil Aditya Ayman Date: Fri, 23 Jan 2026 16:42:13 +0100 Subject: [PATCH 17/22] Add this branch for testing as branch in ci.yml --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c78cebb9..382be069 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,9 @@ name: Build and Deploy Jekyll site on: push: - branches: [master] + # branches: [master] + branches: + - '**' pull_request: workflow_dispatch: From 1b68e015457ebda3d12d71d0a17656f4d89ed217 Mon Sep 17 00:00:00 2001 From: Sapnil Aditya Ayman Date: Fri, 23 Jan 2026 16:48:30 +0100 Subject: [PATCH 18/22] Revert branches to only master in ci.yml --- .github/workflows/ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 382be069..c78cebb9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,7 @@ name: Build and Deploy Jekyll site on: push: - # branches: [master] - branches: - - '**' + branches: [master] pull_request: workflow_dispatch: From 1600ed05a7935c2fee7876693b0ec8f12639ed60 Mon Sep 17 00:00:00 2001 From: Sapnil Aditya Ayman Date: Fri, 23 Jan 2026 17:02:46 +0100 Subject: [PATCH 19/22] Add all branches on push in check-update.yml --- .github/fetch-events.js | 5 ++--- .github/workflows/check-update.yml | 3 +++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/fetch-events.js b/.github/fetch-events.js index 55394e51..d9985c32 100644 --- a/.github/fetch-events.js +++ b/.github/fetch-events.js @@ -20,7 +20,7 @@ if (fs.existsSync(eventIdFile)) { fetch(url) .then((res) => res.json()) .then((data) => { - // console.log("Fetched events:", data); + console.log("Fetched events:", data); if (!data || data.length === 0) { console.log("No data returned from Peoply.") @@ -50,8 +50,7 @@ fetch(url) }) fs.writeFileSync("_data/events.json", JSON.stringify(updatedData, null, 2)); - // console.log("Events written to _data/events.json"); - + console.log("Events written to _data/events.json"); process.exit(1); }) .catch((err) => { diff --git a/.github/workflows/check-update.yml b/.github/workflows/check-update.yml index 110bc848..a632278b 100644 --- a/.github/workflows/check-update.yml +++ b/.github/workflows/check-update.yml @@ -5,6 +5,9 @@ permissions: actions: write on: + push: + branches: + - '**' workflow_dispatch: schedule: - cron: "0 2 * * *" From 214fc4ba8f8be52383146cd6682820a7ed28241e Mon Sep 17 00:00:00 2001 From: Sapnil Aditya Ayman Date: Fri, 23 Jan 2026 17:13:31 +0100 Subject: [PATCH 20/22] Update check-update.yml for production and add eventId to eventId.txt --- .github/workflows/check-update.yml | 2 +- _data/eventId.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-update.yml b/.github/workflows/check-update.yml index a632278b..8bad6823 100644 --- a/.github/workflows/check-update.yml +++ b/.github/workflows/check-update.yml @@ -35,4 +35,4 @@ jobs: uses: benc-uk/workflow-dispatch@v1 with: workflow: Build and Deploy Jekyll site - ref: test-workflow + ref: master diff --git a/_data/eventId.txt b/_data/eventId.txt index e69de29b..bfe6805b 100644 --- a/_data/eventId.txt +++ b/_data/eventId.txt @@ -0,0 +1 @@ +29b91519-0d07-4d5f-abc5-5b9f1d6ddf59 \ No newline at end of file From 5639cfae230bfc8fabbbe496dd7e2a53ff282e35 Mon Sep 17 00:00:00 2001 From: Sapnil Aditya Ayman Date: Fri, 23 Jan 2026 17:14:23 +0100 Subject: [PATCH 21/22] Update check-update.yml for production (forgot to add :) ) --- .github/workflows/check-update.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/check-update.yml b/.github/workflows/check-update.yml index 8bad6823..aa4efcfe 100644 --- a/.github/workflows/check-update.yml +++ b/.github/workflows/check-update.yml @@ -5,9 +5,6 @@ permissions: actions: write on: - push: - branches: - - '**' workflow_dispatch: schedule: - cron: "0 2 * * *" From d4c4883bb2510f5477b87c2a4184cbf3500978fc Mon Sep 17 00:00:00 2001 From: Sapnil Aditya Ayman Date: Fri, 23 Jan 2026 17:28:58 +0100 Subject: [PATCH 22/22] Replace version tag with hash for workflow-dispatch --- .github/workflows/check-update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-update.yml b/.github/workflows/check-update.yml index aa4efcfe..334794b0 100644 --- a/.github/workflows/check-update.yml +++ b/.github/workflows/check-update.yml @@ -29,7 +29,7 @@ jobs: - name: Trigger main build workflow if: steps.check.conclusion == 'failure' - uses: benc-uk/workflow-dispatch@v1 + uses: benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc with: workflow: Build and Deploy Jekyll site ref: master