Installing hugo as a global binary for reproducable windows builds.
This commit is contained in:
parent
8bf83cf2ff
commit
4269cbb9b6
|
@ -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 =========='
|
||||
|
|
|
@ -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);
|
||||
|
|
Reference in New Issue