From 25ea608d81bd03aac4ac760c6d2edd05d164190b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Fri, 30 Jun 2023 12:59:18 -0500 Subject: [PATCH] fix: host only on cron --- .github/workflows/host.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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