forked from HaxeFoundation/haxe.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy.json
54 lines (53 loc) · 1.04 KB
/
deploy.json
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"files": [
".htaccess",
"favicon.ico",
"index.n",
"js/",
"css/",
"img/",
"view/",
"website-content"
],
"targets": [
{
"name": "haxe.org",
"gitRepo": "ssh://[email protected]/data/newhaxe/repo.git",
"defines": ["deploy"],
"hxmls": ["serverapp","clientapp","basicclient"],
"debug": false,
"servers": [{
"name": "haxe.org",
"user": "www-haxe",
"host": "haxe.org",
"port": 22,
"remoteDir": "/data/newhaxe/www/"
}]
},
{
"name": "staging",
"gitRepo": "ssh://[email protected]/data/newhaxe/staging-repo.git",
"defines": ["deploy"],
"hxmls": ["serverapp","clientapp","basicclient"],
"debug": false,
"servers": [{
"name": "staging.haxe.org",
"user": "www-haxe",
"host": "staging.haxe.org",
"port": 22,
"remoteDir": "/data/newhaxe/www-staging/"
}]
}
],
"hooks": {
"beforeBuild": [],
"afterBuild": [],
"beforeCopy": [],
"afterCopy": [],
"beforePush": [],
"afterPush": [],
"beforePull": [],
"afterPull": ["touch index.n"],
"afterComplete": []
}
}