fix: copy .env into temp clone for Prisma build
This commit is contained in:
1 parent
73a36d503a
commit
df604bf432
1 file changed
+4
@@ -36,6 +36,10 @@ jobs:
|
||||
echo "$NOTES"
|
||||
|
||||
# ── Build ────────────────────────────────────────────────────
|
||||
# Copy env for Prisma client generation and build
|
||||
if [ -f /var/www/atom-nexst/.env ]; then
|
||||
cp /var/www/atom-nexst/.env "$SRC/.env"
|
||||
fi
|
||||
pnpm install --frozen-lockfile
|
||||
pnpm prisma:generate
|
||||
export SKIP_ENV_VALIDATION=1
|
||||
|
||||
Reference in new issue
Block a user