start.example.sh: replace patch for-loop with run-patches.mjs
Deploy Indiekit Server / deploy (push) Successful in 2m17s
Deploy Indiekit Server / deploy (push) Successful in 2m17s
The unified runner provides a summary line, --check mode, and surfaces failures by name. The for-loop had no error aggregation and no output when patches were already applied.
This commit is contained in:
+1
-4
@@ -47,10 +47,7 @@ unset DEBUG
|
||||
# Normalize ActivityPub profile URL fields (icon/image/aliases) in MongoDB.
|
||||
"${NODE_BIN}" scripts/preflight-activitypub-profile-urls.mjs
|
||||
|
||||
for patch in scripts/patch-*.mjs; do
|
||||
echo "[startup] Applying patch: $patch"
|
||||
"${NODE_BIN}" "$patch"
|
||||
done
|
||||
"${NODE_BIN}" scripts/run-patches.mjs
|
||||
|
||||
"${NODE_BIN}" --require ./metrics-shim.cjs node_modules/@indiekit/indiekit/bin/cli.js serve --config indiekit.config.mjs &
|
||||
INDIEKIT_PID="$!"
|
||||
|
||||
Reference in New Issue
Block a user