fix: correct indentation in deploy workflow shell block
CI / check (push) Successful in 27s
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m19s
CI / deploy (push) Failing after 9s

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:
openhands committed 2026-07-30 20:29:19 +02:00
1 parent 3ad3f9512c
commit 7138ae4445
1 file changed
+7 -7
+7 -7
View File
@@ -335,13 +335,13 @@ jobs:
export DATABASE_POOL_SIZE="${DEPLOY_DATABASE_POOL_SIZE:-5}"
echo "STAGE DATABASE_POOL_SIZE=${DATABASE_POOL_SIZE}"
pnpm install --frozen-lockfile
# 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
# will use the real DATABASE_URL from the live .env symlink.
export DATABASE_URL="mysql://placeholder:please@localhost/placeholder"
pnpm prisma:generate
unset DATABASE_URL
pnpm install --frozen-lockfile
# 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
# will use the real DATABASE_URL from the live .env symlink.
export DATABASE_URL="mysql://placeholder:please@localhost/placeholder"
pnpm prisma:generate
unset DATABASE_URL
export BCRYPT_ROUNDS=4
pnpm typecheck
# Validate production env (AUTH_SECRET, DATABASE_URL, …) during build.