Update osu-stats gist #343
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update osu-stats gist | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "lts/*" | |
cache: "npm" | |
- name: Install dependencies | |
run: npm install | |
- name: Update Gist | |
run: npm start | |
env: | |
GIST_ID: f53231aed6896f053ecbc32ba77b4973 | |
OSU_USERNAME: weikuu | |
OSU_MODE: osu | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
CLIENT_ID: ${{ secrets.CLIENT_ID }} | |
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }} |