mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
fix: porisma dir
This commit is contained in:
1 parent
7402e30226
commit
a4e511bbca
4 files changed
+4
-3
No files matched your search
@@ -31,4 +31,4 @@ jobs:
|
|||||||
unzip bot.zip -d dist/bot
|
unzip bot.zip -d dist/bot
|
||||||
|
|
||||||
- name: Run 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
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
node_modules
|
node_modules
|
||||||
|
_node_modules
|
||||||
package-lock.json
|
package-lock.json
|
||||||
.env
|
.env
|
||||||
/test-results/
|
/test-results/
|
||||||
|
|||||||
+1
-1
@@ -7,7 +7,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build:assets": "bun scripts/buildAssets/index.ts",
|
"build:assets": "bun scripts/buildAssets/index.ts",
|
||||||
"build:averages": "bun scripts/averages",
|
"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:website": "bun build:sitemap && next build",
|
||||||
"build:sitemap": "bun scripts/sitemap.ts",
|
"build:sitemap": "bun scripts/sitemap.ts",
|
||||||
"build:docs": "vitepress build docs",
|
"build:docs": "vitepress build docs",
|
||||||
|
|||||||
+1
-1
@@ -21,5 +21,5 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"include": ["src/**/*", "scripts/**/*", "dist/website/types/**/*.ts"],
|
"include": ["src/**/*", "scripts/**/*", "dist/website/types/**/*.ts"],
|
||||||
"exclude": ["node_modules", "dist", "scripts"]
|
"exclude": ["_node_modules", "dist", "scripts"]
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user