最优化的历史代码区别于部署商的部署和部署的远程部署分支机构的远程部署(产品)部署到分支机构的部署到部署的主分支和发展的分支机构dédédan sdéundédésésécifique“ src”
任务的流派类型是:ales je voux ajouter un cheminspécifiquedans:
var gulp = require('gulp');
var deploy = require('gulp-gh-pages');
gulp.task('deploy', function () {
return gulp.src("./prod/**/*")
.pipe(deploy({
remoteUrl: "https://github.com/your_github_username_here/your_github_username_here.github.io.git",
branch: "master"
}))
});
版本代码là:
var gulp = require('gulp');
deploy = require('gulp-gh-pages');
gulp.task('deploy', function () {
return gulp.src("./prod/**/*")
.pipe(deploy({
remoteUrl: "https://github.com/your_github_username_here/your_github_username_here.github.io.git",
branch: "master",
monchemin: "./src"
}))
});