mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: added cron job
This commit is contained in:
1 parent
6d9e6973d5
commit
622cd92a13
4 files changed
+33
-4
No files matched your search
@@ -1,4 +1,4 @@
|
||||
name: Host
|
||||
name: CD Host
|
||||
|
||||
on:
|
||||
schedule:
|
||||
@@ -0,0 +1,21 @@
|
||||
name: CD Ratings Leaderboard North America
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 5 * * *'
|
||||
|
||||
jobs:
|
||||
host:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Get code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Use node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
|
||||
- name: Generate leaderboard
|
||||
run: GH_TOKEN=${{ secrets.GH_TOKEN }} yarn publish:ratingsleaderboard --region=asia
|
||||
@@ -16,7 +16,7 @@ jobs:
|
||||
node-version: [18.x]
|
||||
|
||||
steps:
|
||||
- name: Get code
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Use node
|
||||
|
||||
Reference in new issue
Block a user