fix: correct indentation in deploy workflow shell block
The prisma:generate block had inconsistent indentation (11 spaces instead of 10), causing YAML to misinterpret the shell block structure.
This commit is contained in:
1 parent
3ad3f9512c
commit
7138ae4445
1 file changed
+7
-7
@@ -335,13 +335,13 @@ jobs:
|
|||||||
export DATABASE_POOL_SIZE="${DEPLOY_DATABASE_POOL_SIZE:-5}"
|
export DATABASE_POOL_SIZE="${DEPLOY_DATABASE_POOL_SIZE:-5}"
|
||||||
echo "STAGE DATABASE_POOL_SIZE=${DATABASE_POOL_SIZE}"
|
echo "STAGE DATABASE_POOL_SIZE=${DATABASE_POOL_SIZE}"
|
||||||
|
|
||||||
pnpm install --frozen-lockfile
|
pnpm install --frozen-lockfile
|
||||||
# prisma generate only needs DATABASE_URL to resolve the schema — no live DB connection.
|
# prisma generate only needs DATABASE_URL to resolve the schema — no live DB connection.
|
||||||
# Use a placeholder so it doesn't fail if .env isn't loaded yet; db:migrate later
|
# Use a placeholder so it doesn't fail if .env isn't loaded yet; db:migrate later
|
||||||
# will use the real DATABASE_URL from the live .env symlink.
|
# will use the real DATABASE_URL from the live .env symlink.
|
||||||
export DATABASE_URL="mysql://placeholder:please@localhost/placeholder"
|
export DATABASE_URL="mysql://placeholder:please@localhost/placeholder"
|
||||||
pnpm prisma:generate
|
pnpm prisma:generate
|
||||||
unset DATABASE_URL
|
unset DATABASE_URL
|
||||||
export BCRYPT_ROUNDS=4
|
export BCRYPT_ROUNDS=4
|
||||||
pnpm typecheck
|
pnpm typecheck
|
||||||
# Validate production env (AUTH_SECRET, DATABASE_URL, …) during build.
|
# Validate production env (AUTH_SECRET, DATABASE_URL, …) during build.
|
||||||
|
|||||||
Reference in new issue
Block a user