mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
fix: porisma dir
This commit is contained in:
1 parent
7402e30226
commit
a4e511bbca
4 files changed
+5
-4
No files matched your search
@@ -31,4 +31,4 @@ jobs:
|
||||
unzip bot.zip -d dist/bot
|
||||
|
||||
- name: Run bot
|
||||
run: mv dist/bot/node_modules . && ls && NODE_ENV=production GH_TOKEN=${{ secrets.GH_TOKEN }} DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }} DATABASE_URL=${{ secrets.DATABASE_URL }} bun dist/bot/index.js
|
||||
run: mv dist/bot/prisma . && NODE_ENV=production GH_TOKEN=${{ secrets.GH_TOKEN }} DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }} DATABASE_URL=${{ secrets.DATABASE_URL }} bun dist/bot/index.js
|
||||
+2
-1
@@ -1,4 +1,5 @@
|
||||
node_modules
|
||||
_node_modules
|
||||
package-lock.json
|
||||
.env
|
||||
/test-results/
|
||||
@@ -20,4 +21,4 @@ temp/
|
||||
depots
|
||||
public/sitemap*
|
||||
/firebase.json
|
||||
target
|
||||
target
|
||||
+1
-1
@@ -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/node_modules/prisma && bun build src/index.ts src/workers/bot.ts src/workers/render.ts --outdir dist/bot --target=bun --splitting --sourcemap=inline && cp -R src/lang dist/bot/lang && prisma generate && cp prisma/schema.prisma dist/bot/schema.prisma && cp -R node_modules/prisma/*.node dist/bot/node_modules/prisma",
|
||||
"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 && 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",
|
||||
"build:website": "bun build:sitemap && next build",
|
||||
"build:sitemap": "bun scripts/sitemap.ts",
|
||||
"build:docs": "vitepress build docs",
|
||||
|
||||
+1
-1
@@ -21,5 +21,5 @@
|
||||
]
|
||||
},
|
||||
"include": ["src/**/*", "scripts/**/*", "dist/website/types/**/*.ts"],
|
||||
"exclude": ["node_modules", "dist", "scripts"]
|
||||
"exclude": ["_node_modules", "dist", "scripts"]
|
||||
}
|
||||
Reference in new issue
Block a user