fix issues deploy
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 46s
Tests / PHPUnit (push) Successful in 1m16s

This commit is contained in:
root
2026-08-19 23:53:27 -04:00
parent 2bfb9b3aa1
commit 6f722795c5
2 changed files with 3 additions and 4 deletions
+2 -3
View File
@@ -88,9 +88,8 @@ jobs:
fi
if [ -z "${PUBLIC_PATH}" ]; then
echo "Set DEPLOY_PUBLIC_PATH (shared-hosting document root)."
echo "Example: /home/u280815660/domains/home.alrahmaisgl.org/public_html"
exit 1
PUBLIC_PATH="$(dirname "${APP_PATH}")/public_html"
echo "DEPLOY_PUBLIC_PATH is not set; using ${PUBLIC_PATH}"
fi
echo "APP_PATH=${APP_PATH}" >> "$GITHUB_ENV"