From 7e4a3e88b98a13c40566f469af60bb9540577323 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Fri, 8 Sep 2023 11:47:39 -0500 Subject: [PATCH] Update cd-host.yml --- .github/workflows/cd-host.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd-host.yml b/.github/workflows/cd-host.yml index 76b9262d7..507bf9fbf 100644 --- a/.github/workflows/cd-host.yml +++ b/.github/workflows/cd-host.yml @@ -22,11 +22,11 @@ jobs: - name: Download release assets run: | DOWNLOAD_URL=$(curl -s https://api.github.com/repos/tresabhi/blitzkrieg/releases/latest \ - | grep "browser_download_url.*dist.zip" \ + | grep "browser_download_url.*bot.zip" \ | cut -d : -f 2,3 \ | tr -d \") - curl -L -o dist.zip $DOWNLOAD_URL - unzip dist.zip + curl -L -o bot.zip $DOWNLOAD_URL + unzip bot.zip - name: Run bot run: NODE_ENV=production GH_TOKEN=${{ secrets.GH_TOKEN }} DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }} WARGAMING_APPLICATION_ID=${{ secrets.WARGAMING_APPLICATION_ID }} node --enable-source-maps --trace-warnings bot.cjs