mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +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:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 */5 * * *'
|
- cron: '0 */5 * * *'
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- 'main'
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
@@ -34,5 +31,5 @@ jobs:
|
|||||||
curl -L -o dist.zip $DOWNLOAD_URL
|
curl -L -o dist.zip $DOWNLOAD_URL
|
||||||
unzip dist.zip
|
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
|
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