From 4aa6a347014936178658ca19dbe075c25e9fcb4c Mon Sep 17 00:00:00 2001 From: Nico Oelgart Date: Fri, 3 May 2024 23:51:26 +0200 Subject: [PATCH] Use GH latest release URL --- .github/workflows/static-deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/static-deploy.yml b/.github/workflows/static-deploy.yml index c4c9a85..6547492 100644 --- a/.github/workflows/static-deploy.yml +++ b/.github/workflows/static-deploy.yml @@ -17,6 +17,7 @@ concurrency: env: IFSC_RSS_FEED_URL: "https://www.ifsc-climbing.org/news?format=feed&type=rss" + LATEST_CALENDAR_URL: "https://github.com/sportclimbing/ifsc-calendar/releases/latest/download/IFSC-World-Cups-and-World-Championships.json" YEAR: 2024 jobs: @@ -36,7 +37,7 @@ jobs: - name: "Download latest calendar" run: | - curl -sSL "https://calendar.ifsc.stream/?format=json&nocache=1" \ + curl -sSL "${{ env.LATEST_CALENDAR_URL }}" \ --output "public/events/events_${YEAR}.json" \ --max-time 15