# deploy > Deploy the project to a target environment. - Author: Yonatan Feldman - Repository: yon/agentic-dev-os - Version: 20260208002549 - Stars: 1 - Forks: 0 - Last Updated: 2026-02-08 - Source: https://github.com/yon/agentic-dev-os - Web: https://mule.run/skillshub/@@yon/agentic-dev-os~deploy:20260208002549 --- # /deploy — Deploy to Environment Deploy the project to a target environment. --- ## Steps ### 1. Determine Target - `/deploy staging` or `/deploy` → staging (default) - `/deploy production` → production (requires confirmation) ### 2. Pre-Deploy Checks **MANDATORY before any deployment:** 1. Run `make check` (build + test + lint + typecheck) 2. Verify all checks pass — **abort if any fail** 3. For production: verify quality score >= 90 (`make quality-score`) 4. Check for uncommitted changes — warn if present ### 3. Deploy **Staging:** ```bash make deploy-staging ``` **Production:** ``` ⚠️ PRODUCTION DEPLOYMENT Are you sure you want to deploy to production? Current version: [version/commit] Last staging deploy: [date/commit] Type "yes" to confirm. ``` Then: `make deploy-production` ### 4. Post-Deploy Verification - Verify the deployment succeeded (health check, smoke test) - Report the deployed version/commit ### 5. Rollback Information - Show how to rollback if needed - Record the deployment in the session log ## Rules - **NEVER deploy to production without explicit user confirmation** - **NEVER deploy with failing checks** - **ALWAYS record deployments in session log**