Spaces:
Running

MicroFunnel commited on
Commit
ba31b41
·
1 Parent(s): cc6446f

fix: Настроен автоматический деплой на Vercel

Browse files

ПРОБЛЕМА:
- Vercel не обновлялся автоматически после git push

РЕШЕНИЕ:
✅ Добавлена секция git в vercel.json
✅ Включен автоматический деплой для main ветки
✅ deploymentEnabled: true для main

ТЕПЕРЬ:
- Каждый push в main → автоматический деплой на Vercel
- Не нужно вручную деплоить через dashboard

ВАЖНО:
Если всё равно не работает, проверьте в Vercel Dashboard:
1. Settings → Git → Git Integration должен быть включен
2. Settings → Git → Production Branch = main
3. GitHub App должен иметь доступ к репозиторию

Files changed (1) hide show
  1. frontend/vercel.json +6 -1
frontend/vercel.json CHANGED
@@ -3,5 +3,10 @@
3
  "devCommand": "npm run dev",
4
  "installCommand": "npm install",
5
  "framework": "nextjs",
6
- "outputDirectory": ".next"
 
 
 
 
 
7
  }
 
3
  "devCommand": "npm run dev",
4
  "installCommand": "npm install",
5
  "framework": "nextjs",
6
+ "outputDirectory": ".next",
7
+ "git": {
8
+ "deploymentEnabled": {
9
+ "main": true
10
+ }
11
+ }
12
  }