From b3192ae99ece874abba94e29a0dad0ff5eb0d0d6 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 12 Jul 2026 06:43:13 -0400 Subject: [PATCH] x --- serverinfo/pkh-post-receive | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/serverinfo/pkh-post-receive b/serverinfo/pkh-post-receive index 47971c7..5404e80 100644 --- a/serverinfo/pkh-post-receive +++ b/serverinfo/pkh-post-receive @@ -82,6 +82,9 @@ rsync -av --delete \ rsync -av packages/ $TARGET_BACKEND/packages/ cp package.json bun.lock ecosystem.config.js $TARGET_BACKEND/ +# Rewrite ecosystem.config.js on the fly for pkh +sed -i 's/homaroma/pkh/g' $TARGET_BACKEND/ecosystem.config.js +sed -i 's/PORT: 3002/PORT: 3003/g' $TARGET_BACKEND/ecosystem.config.js cd $TARGET_BACKEND echo "Installing backend dependencies..." @@ -127,6 +130,9 @@ rsync -av \ $TEMP_DIR/apps/website/.next/static/ $TARGET_WEBSITE/apps/website/.next/static/ cp $TEMP_DIR/ecosystem.config.js $TARGET_WEBSITE/ +# Rewrite ecosystem.config.js on the fly for pkh +sed -i 's/homaroma/pkh/g' $TARGET_WEBSITE/ecosystem.config.js +sed -i 's/PORT: 3002/PORT: 3003/g' $TARGET_WEBSITE/ecosystem.config.js # I. Fix Permissions echo ">>> Fixing Permissions..."