-
Notifications
You must be signed in to change notification settings - Fork 0
/
fis-conf.js
42 lines (37 loc) · 930 Bytes
/
fis-conf.js
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
/**
* fis编译打包工具配置文件
*
* @author Yang,junlong at 2017-05-21 22:26:09 build.
* @version $Id$
*/
var DEPLOYS = {
remote: {
host: 'http://sobird.me',
path: '/home/sobird/domains/sobird.me/public_html/wp-content/plugins/wp-qiniu'
}
};
fis.util.map(DEPLOYS, function(key, item) {
var host = item['host'];
var path = item['path'];
var receiver = host + '/receiver.php';
var replaceFrom = /http:\/\/sobird.me/g;
var replaceTo = function(domain) {
switch (domain) {
case '':
break;
case '':
break
default:
}
};
fis.config.set('deploy.' + key, [
{
receiver: receiver,
from: '/',
subOnly: true,
to: path
}
])
});
// static cdn domian
fis.config.set('roadmap.domain', 'http://ohwfdg6ch.bkt.clouddn.com/');