Authored by xuqi

submodule update

... ... @@ -104,7 +104,7 @@ class Build {
if(sh.ls(config.codeDir).indexOf(this.project.name) > -1) {
syncCodeScript = `git submodule update ${this.project.name}`;
syncCodeScript = `git pull origin ${this.branch}`;
} else {
syncCodeScript = `git submodule add ${this.project.gitlab}`;
}
... ...
... ... @@ -19,9 +19,12 @@ gulp.task('upQiniu', () => {
// 找到对应项目对应的版本的静态资源上传至七牛cdn
gulp.src(path.join(__dirname, `../../packages/${name}/${time}/${name}/**`)).pipe(
qiniu({
accessKey: 'RcJ--8b9E4ND8J_SRPsWvb4lGqK3cr92gKi5xmuF', //cY9B5ZgON_7McTS5zV5nTeRyQ98MOcVD7W4eGVbE
secretKey: 'xfFfRTdje-LxoPSQH619PeGtcJZT19UNCwXGTOfo', //RduqgmK7cAtaQvdIa1ax_zzmMsnv9ac-Ka0uF6wG
bucket: 'yohotest' //yohocdn
// accessKey: 'RcJ--8b9E4ND8J_SRPsWvb4lGqK3cr92gKi5xmuF',
accessKey: 'cY9B5ZgON_7McTS5zV5nTeRyQ98MOcVD7W4eGVbE',
// secretKey: 'xfFfRTdje-LxoPSQH619PeGtcJZT19UNCwXGTOfo',
secretKey: 'RduqgmK7cAtaQvdIa1ax_zzmMsnv9ac-Ka0uF6wG',
// bucket: 'yohotest'
bucket: 'yohocdn'
}, {
dir: name
})
... ...