From 1059b3e6e6a41542faf36f033ffcf07324d4360e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Mon, 22 Jul 2024 12:15:17 -0500 Subject: [PATCH] fix: DISCORD_CLIENT_ID --- .github/workflows/cd-host.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd-host.yml b/.github/workflows/cd-host.yml index 3fb00f6ba..381f4a5b3 100644 --- a/.github/workflows/cd-host.yml +++ b/.github/workflows/cd-host.yml @@ -31,4 +31,4 @@ jobs: unzip bot.zip -d dist/bot - name: Run bot - run: mv dist/bot/prisma . && mv dist/bot/node_modules . && mv dist/bot/package.json . && mv dist/bot/.env . && GH_TOKEN=${{ secrets.GH_TOKEN }} DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }} DATABASE_URL=${{ secrets.DATABASE_URL }} DISCORD_CLIENT_ID=${{ secrets.DISCORD_CLIENT_ID }} bun dist/bot/index.js --production + run: mv dist/bot/prisma . && mv dist/bot/node_modules . && mv dist/bot/package.json . && GH_TOKEN=${{ secrets.GH_TOKEN }} DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }} DATABASE_URL=${{ secrets.DATABASE_URL }} DISCORD_CLIENT_ID=${{ secrets.DISCORD_CLIENT_ID }} bun dist/bot/index.js --production diff --git a/package.json b/package.json index e83f7196f..9701c2f12 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "scripts": { "build:assets": "bun scripts/buildAssets/index.ts", "build:averages": "bun scripts/averages", - "build:bot": "rm -rf dist/bot && mkdir -p dist/bot/prisma && bun build src/index.ts src/workers/bot.ts src/workers/render.ts --outdir dist/bot --target=bun --splitting --sourcemap=inline --external sharp && cp -R src/lang dist/bot/lang && prisma generate && cp prisma/schema.prisma dist/bot/prisma/schema.prisma && cp -R node_modules/prisma/*.node dist/bot/prisma && cp bot.env dist/bot/.env && cd dist/bot && bun init -y && bun add sharp", + "build:bot": "rm -rf dist/bot && mkdir -p dist/bot/prisma && bun build src/index.ts src/workers/bot.ts src/workers/render.ts --outdir dist/bot --target=bun --splitting --sourcemap=inline --external sharp && cp -R src/lang dist/bot/lang && prisma generate && cp prisma/schema.prisma dist/bot/prisma/schema.prisma && cp -R node_modules/prisma/*.node dist/bot/prisma && cd dist/bot && bun init -y && bun add sharp", "build:website": "bun build:sitemap && next build", "build:sitemap": "bun scripts/sitemap.ts", "build:docs": "vitepress build docs",