diff --git a/.github/workflows/rating-asia.yml b/.github/workflows/rating-asia.yml index 6d6baca38..df581140c 100644 --- a/.github/workflows/rating-asia.yml +++ b/.github/workflows/rating-asia.yml @@ -2,8 +2,8 @@ name: Rating Asia on: workflow_dispatch: - # schedule: - # - cron: '0 17 * * *' + schedule: + - cron: '0 17 * * *' jobs: host: diff --git a/.github/workflows/rating-eu.yml b/.github/workflows/rating-eu.yml index b52e1d1fa..9dd53b25e 100644 --- a/.github/workflows/rating-eu.yml +++ b/.github/workflows/rating-eu.yml @@ -2,8 +2,8 @@ name: Rating Europe on: workflow_dispatch: - # schedule: - # - cron: '0 23 * * *' + schedule: + - cron: '0 23 * * *' jobs: host: diff --git a/.github/workflows/rating-latest.yml b/.github/workflows/rating-latest.yml deleted file mode 100644 index bf510d0eb..000000000 --- a/.github/workflows/rating-latest.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/rating-na.yml b/.github/workflows/rating-na.yml index 72f3337fc..de853b52e 100644 --- a/.github/workflows/rating-na.yml +++ b/.github/workflows/rating-na.yml @@ -2,8 +2,8 @@ name: Rating North America on: workflow_dispatch: - # schedule: - # - cron: '0 5 * * *' + schedule: + - cron: '0 5 * * *' jobs: host: