Skip to content

Commit

Permalink
Use GH latest release URL
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoSWD committed May 3, 2024
1 parent 131e8bf commit 4aa6a34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/static-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 4aa6a34

Please sign in to comment.