Files
sitemente/DEPLOYMENT.md
T
2026-02-22 16:27:05 +00:00

1.2 KiB

Git Workflow & Deployment

Branch Strategy

main (production)
    │
    └── develop (staging)
            │
            └── feature branches

Environments

Branch URL Purpose
main sitmente.com Live production
develop sitmente-git-develop...vercel.app Testing/staging
PR previews vercel.app/pr-*** Feature testing

Workflow

1. Development (on VPS)

# Work on develop branch
git checkout develop
# ... make changes ...
git add -A && git commit -m "Description"
git push origin develop

2. Test on Staging

  • Vercel auto-deploys develop branch
  • URL: Check Vercel dashboard
  • Test all changes

3. Production

# Merge to main
git checkout main
git merge develop
git push origin main

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

Current Status

  • main → sitmente.com (production)
  • develop → staging (testing)
  • Preview deployments → Auto for all branches