fix: formatting
This commit is contained in:
parent
d0a62777a4
commit
93b2967918
1 changed files with 4 additions and 0 deletions
|
@ -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:
|
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
|
```yaml
|
||||||
name: Fetch weekly artist charts
|
name: Fetch weekly artist charts
|
||||||
on:
|
on:
|
||||||
|
@ -47,6 +49,8 @@ jobs:
|
||||||
commit_author: Cory Dransfeldt
|
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:
|
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
|
```json
|
||||||
|
|
Reference in a new issue