Skip to content

topgg

topgg #289

Workflow file for this run

name: topgg
on:
workflow_dispatch:
schedule:
# Everyday "At 00:00" (see https://crontab.guru/daily)
- cron: "0 0 * * *"
jobs:
update-stats:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Update top.gg stats
run: deno run -A update_topgg_stats.ts
env:
APP_ID: ${{ secrets.APP_ID }}
TOPGG_TOKEN: ${{ secrets.TOPGG_TOKEN }}
DENO_KV_ACCESS_TOKEN: ${{ secrets.DENO_KV_ACCESS_TOKEN }}