From 93b29679188ab6ff9dd14502e22994cd19b14aab Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sun, 19 Nov 2023 10:07:34 -0800 Subject: [PATCH] fix: formatting --- src/posts/2023/hacking-together-a-tweeklyfm-repalcement.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/posts/2023/hacking-together-a-tweeklyfm-repalcement.md b/src/posts/2023/hacking-together-a-tweeklyfm-repalcement.md index 22ddaafb..f75fb6b6 100644 --- a/src/posts/2023/hacking-together-a-tweeklyfm-repalcement.md +++ b/src/posts/2023/hacking-together-a-tweeklyfm-repalcement.md @@ -13,6 +13,8 @@ I mused the other day about wanting a replacement for [Tweekly.fm](https://tweek Given some time, that's basically where I've landed. I'm not great with GitHub actions by any means, but I've come up with this: +{% raw %} + ```yaml name: Fetch weekly artist charts on: @@ -47,6 +49,8 @@ jobs: commit_author: Cory Dransfeldt ``` +{% endraw %} + I've added a Last.fm API key to my repository secrets and the action then uses that key to access Last.fm's `usergetweeklyartistchart` endpoint. The JSON returned by the endpoint is then merged with an existing JSON object read in from `src/_data/json/weekly-artist-charts.json` and it's shaped like this: ```json