From 81d04f9b8a20e3b71ee910081be258401c78ea2f Mon Sep 17 00:00:00 2001 From: Alex Xie Date: Fri, 18 Dec 2020 16:53:42 -0500 Subject: [PATCH] feat: add cron to refresh spotify token --- .github/workflows/main.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 000000000..455bf7350 --- /dev/null +++ b/.github/workflows/main.yml @@ -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