mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
fix: host only on cron
This commit is contained in:
1 parent
ebe1fb891b
commit
25ea608d81
1 file changed
+1
-4
@@ -3,9 +3,6 @@ name: Host
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 */5 * * *'
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
@@ -34,5 +31,5 @@ jobs:
|
||||
curl -L -o dist.zip $DOWNLOAD_URL
|
||||
unzip dist.zip
|
||||
|
||||
- name: Run index.cjs
|
||||
- name: Run bot
|
||||
run: NODE_ENV=production DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }} WARGAMING_APPLICATION_ID=${{ secrets.WARGAMING_APPLICATION_ID }} node --enable-source-maps --trace-warnings bot.cjs
|
||||
Reference in new issue
Block a user