Authored by xuqi

deploy bugs

... ... @@ -50,7 +50,7 @@ class Deploy {
self._state('deploy code');
sh.cd(config.ci);
let child = sh.exec(`gulp upQiniu --name=${self.project.name} --time=${self.building.buildTime} --pkg=${self.pkgName}`, {
let child = sh.exec(`gulp upQiniu --name=${self.project.name} --time=${self.building.buildTime} --pkg=${self.building.pkgName}`, {
async: true
});
... ... @@ -72,7 +72,7 @@ class Deploy {
uri: 'http://flushcache.yoho.cn/flushdaction.php',
type: 'GET',
qs: {
url: `http://cdn.yoho.cn/${self.project.name}/${self.building.version}/`
url: `http://cdn.yoho.cn/${self.building.pkgName}/${self.building.version}/`
}
}).then(data => {
console.log(data);
... ...