Skip to content

spotify-box

spotify-box #1431

Workflow file for this run

name: spotify-box
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *' # Runs at 00:00 UTC every day
push:
branches: main
jobs:
updateTopTracks:
runs-on: ubuntu-latest
environment: prod
steps:
- uses: actions/checkout@v3
- run: npm install
- name: Update
uses: ./
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GIST_ID: ${{ secrets.GIST_ID }}
SPOTIFY_CLIENT_ID: ${{ secrets.SPOTIFY_CLIENT_ID }}
SPOTIFY_CLIENT_SECRET: ${{ secrets.SPOTIFY_CLIENT_SECRET }}
SPOTIFY_REFRESH_TOKEN: ${{ secrets.SPOTIFY_REFRESH_TOKEN }}