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"
+1 -1
View File
@@ -58,10 +58,10 @@ Required for SSH deploy:
- `DEPLOY_USER` - SSH username (for example `u280815660`)
- `DEPLOY_SSH_KEY` - private key whose public half is in Hostinger SSH Access
- `DEPLOY_APP_PATH` - application directory, for example `/home/u280815660/domains/home.alrahmaisgl.org/alrahma`
- `DEPLOY_PUBLIC_PATH` - document root, for example `/home/u280815660/domains/home.alrahmaisgl.org/public_html`
Optional:
- `DEPLOY_PUBLIC_PATH` - document root. Defaults to a sibling `public_html` next to `DEPLOY_APP_PATH`, for example `/home/u280815660/domains/home.alrahmaisgl.org/public_html`
- `DEPLOY_PORT` - defaults to `65002` (Hostinger SSH). Use `22` only if the host uses the standard port.
- `DEPLOY_PHP_BIN` - defaults to `/opt/alt/php85/usr/bin/php`
- `DEPLOY_INDEX_REQUIRE` - defaults to `../alrahma/app/Config/Paths.php`