-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.smart-commit.json
More file actions
37 lines (37 loc) · 829 Bytes
/
.smart-commit.json
File metadata and controls
37 lines (37 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"serverCommands": {
"enabled": true,
"autoExecute": false,
"projectPath": "/var/www/example-app",
"server": {
"host": "203.0.113.10",
"user": "deploy",
"port": 22,
"keyPath": "~/.ssh/id_rsa"
},
"commands": {
"git": ["git pull origin main"],
"frontend": ["npm ci", "npm run build"],
"backend": ["php artisan optimize:clear"],
"database": ["php artisan migrate --force"],
"docker": [],
"system": [
"sudo systemctl reload php8.3-fpm",
"sudo systemctl reload nginx"
]
},
"whitelist": [
"npm",
"yarn",
"composer",
"php artisan",
"docker-compose",
"sudo systemctl"
]
},
"projectInfo": {
"type": "php",
"framework": "laravel",
"packageManager": "composer"
}
}