Staging first deploy
Use when: Local dev passes — first Deployer run to staging.
Source procedure: Peels S06-Staging-First → setup-new phase 5.
Pre-deploy 💻
Section titled “Pre-deploy 💻”- Deployer configured (
deploy.php, SSH, shared paths) - Staging
.envon server (not in Git) - Migrations enabled/disabled per first-deploy policy
Deploy execution 💻
Section titled “Deploy execution 💻”-
dep deploy staging(or CI equivalent) exit 0 - Installer accessible; admin login works
-
migrate:statusmatches expectation
Hardening 🔀
Section titled “Hardening 🔀”- Debug off;
APP_ENV=staging - HTTPS forced; trusted proxies set
- File permissions on
storage/andbootstrap/cache/
Capture & log 👤
Section titled “Capture & log 👤”- ServerSync or manual capture of server-only changes back to Git
- ProjectLog entry for first staging deploy
Sign-off
Section titled “Sign-off”- Stakeholder smoke test on staging URL
- Ready for production launch checklist