feat: enable rating crons

This commit is contained in:
tresabhi committed 2024-11-28 13:09:58 -06:00
1 parent eb41434565
commit 5a4326dd32
4 files changed
+6 -32

No files matched your search

+2 -2
View File
@@ -2,8 +2,8 @@ name: Rating Asia
on:
workflow_dispatch:
# schedule:
# - cron: '0 17 * * *'
schedule:
- cron: '0 17 * * *'
jobs:
host:
+2 -2
View File
@@ -2,8 +2,8 @@ name: Rating Europe
on:
workflow_dispatch:
# schedule:
# - cron: '0 23 * * *'
schedule:
- cron: '0 23 * * *'
jobs:
host:
-26
View File
@@ -1,26 +0,0 @@
name: Rating Latest
on:
workflow_dispatch:
# schedule:
# - cron: '0 0 * * *'
jobs:
host:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install
- name: Generate all leaderboards
env:
PUBLIC_ASSET_BRANCH: main
DISCORD_CLIENT_ID: ${{ secrets.DISCORD_CLIENT_ID }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}
run: bun scripts/buildRatingLeaderboard.ts --region=na,asia,eu --target=latest --production
+2 -2
View File
@@ -2,8 +2,8 @@ name: Rating North America
on:
workflow_dispatch:
# schedule:
# - cron: '0 5 * * *'
schedule:
- cron: '0 5 * * *'
jobs:
host: