PHP nav page that auto-lists all project subfolders.
index.phpscans the repo root for subfolders.- Each subfolder is shown as a project link.
- Hidden and meta folders (like
.git,.github) are ignored.
Create a new folder in repo root, for example:
mkdir cool-project
# add files under cool-project/After push to main, GitHub Actions deploys and the project appears automatically on the nav page.
Set these repository secrets:
DEPLOY_SSH_PRIVATE_KEY— private key with access to web hostDEPLOY_HOST— server hostname/IPDEPLOY_USER— SSH userDEPLOY_PORT— optional (defaults to22)DEPLOY_PATH— absolute path todesignedbyashw.inon server
Workflow file: .github/workflows/deploy.yml
- This assumes your host supports SSH + rsync.
- If your host is cPanel-only/FTP-only, switch deploy step to FTP action.