Installing hugo as a global binary for reproducable windows builds.

This commit is contained in:
chris062689 2017-07-15 19:08:50 -04:00
parent 8bf83cf2ff
commit 4269cbb9b6
2 changed files with 3 additions and 1 deletions

View File

@ -32,6 +32,8 @@ before_script:
- sudo apt-get install graphicsmagick
- convert -help
- yarn global add @alrra/travis-scripts
- yarn global add hugo-bin
- hugo version
- yarn global add gulp
- echo '========== Configuring Github Pages =========='

View File

@ -43,7 +43,7 @@ gulp.task('setup', function(cb) {
// PHASE 2 - Building
gulp.task('hugo', function (cb) {
exec('$(npm bin)/hugo -s ./site/ -d ../public/ -v', function (err, stdout, stderr) {
exec('hugo -s ./site/ -d ../public/ -v', function (err, stdout, stderr) {
console.log(stdout);
console.log(stderr);
cb(err);