SpotHub
October 17, 2018 ยท View on GitHub
Collaborate on Spotify playlists using Pull Requests :headphones: :relaxed:
How does this even work?
Using GitHub Actions of course!
On every push to the master branch, the Action will:
- Grab a fresh access token from Spotify, using the
SPOTIFY_AUTHandSPOTIFY_REFRESH_TOKENsecrets. - Generate a JSON payload, from
playlist.csv. - Update a playlist on Spotify, specified by the
playlist_idenvironment variable.
What do I do?
- Update
playlist.csv git commitgit push- Enjoy your updated Spotify playlist
Why was this built?
So we can collaborate on playlists the right way :wink:
Also, because I :heart: Spotify and GitHub, and now I can bring 2 of my favorite things together with GitHub Actions.
Sign up for the GitHub Actions beta here :headphones: :relaxed: