Skip to content
This repository has been archived by the owner on Aug 12, 2021. It is now read-only.

Commit

Permalink
#1204 using gh-pages as final tool
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg authored Nov 27, 2017
1 parent 1029df9 commit 714b1a9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ops/gulp/ghpages-deploy.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const gulp = require('gulp');
const ghPages = require('gulp-gh-pages');
const ghPages = require('gh-pages');
const gulpSequence = require('gulp-sequence');

const paths = {
Expand Down Expand Up @@ -27,8 +27,9 @@ const prepareDeploy = (cb) => {
//Task for deploying compiled HTML to gh-pages branch for GitHub Pages hosting
const ghDeploy = (cb) => {

return gulp.src(paths.srcDeploy)
.pipe(ghPages({remoteUrl:'[email protected]:SAP/techne.git'}));
ghPages.publish(paths.destPrepare, {
repo: '[email protected]:SAP/techne.git'
}, cb);
}

gulp.task('prepareDeploy', prepareDeploy);
Expand Down

0 comments on commit 714b1a9

Please sign in to comment.