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_AUTH
andSPOTIFY_REFRESH_TOKEN
secrets. - Generate a JSON payload, from
playlist.csv
. - Update a playlist on Spotify, specified by the
playlist_id
environment variable.
- Update
playlist.csv
git commit
git 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 🎧