diff --git a/.github/workflows/host.yml b/.github/workflows/host.yml index b4bc3c4bd..2ff7cc2b1 100644 --- a/.github/workflows/host.yml +++ b/.github/workflows/host.yml @@ -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