Skip to content

Commit

Permalink
feat: add cron to refresh spotify token
Browse files Browse the repository at this point in the history
  • Loading branch information
alexieyizhe authored Dec 18, 2020
1 parent 9d208f5 commit 81d04f9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Refresh Now Playing
on:
schedule:
- cron: '0 * * * *'
jobs:
refresh-now-playing:
runs-on: ubuntu-latest
steps:
- name: Refresh
run: curl https://alexxie.com/api/refresh

0 comments on commit 81d04f9

Please sign in to comment.