Files
sitemente/DEPLOYMENT.md
T
2026-02-22 16:36:45 +00:00

55 lines
1.0 KiB
Markdown

# Git Workflow & Deployment
## Branch Strategy
```
main (production)
└── develop (staging/testing)
└── feature branches
```
## 🌡️ Testing Workflow (MANDATORY)
**Rule: NEVER push directly to main without testing first.**
```
1. WORK on develop branch
2. TEST on staging (Vercel preview)
3. GET approval from Haitham
4. MERGE to main
```
### Steps:
```bash
# 1. Work on develop
git checkout develop
# ... make changes ...
# 2. Push to test
git add -A && git commit -m "Description"
git push origin develop
# 3. Wait for Haitham's approval
# 4. After approval, merge to main
git checkout main
git merge develop
git push origin main
```
### Deployment URLs:
| Branch | URL | Purpose |
|--------|-----|---------|
| **main** | sitmente.com | Live production |
| **develop** | vercel preview | Testing/staging |
## Vercel Auto-Deploy
| Event | Action |
|-------|--------|
| Push to `main` | Auto-deploy to sitmente.com |
| Push to `develop` | Auto-deploy to preview URL |
| Open PR | Create preview deployment |