deploy
Build the project, commit all changes, and deploy directly to main. Use when deploying changes to production.
SKILL.md
Full skill instructions
Deploy to Main
Automates the complete deployment workflow for pushing changes to production.
Workflow
- Build: Run
npm run buildto ensure no compilation errors - Status Check: Check git status for uncommitted changes
- Commit: Commit changes with a descriptive message
- Deploy: Push directly to main to trigger production deployment
- Confirm: Provide deployment status
Commands
# Build project
npm run build
# Check status
git status
git log --oneline -3
# Commit (if changes exist)
git add -A
git commit -m "chore: <descriptive message>"
# Push directly to main
git push origin main
When to Use
- "deploy to main"
- "push changes to production"
- "deploy these changes"
- "/deploy"
