Collaborate on Spotify playlists using Pull Requests 🎧
☺️
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.
- Update
playlist.csv git commitgit push- Enjoy your updated Spotify playlist
So we can collaborate on playlists the right way 😉
Also, because I ❤️ 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 🎧