Skip to content

Solve the deploy issue

Silvano Sallese requested to merge svavs/hexo:master into master

New version of the .gitlab-ci.yml to avoid errors that causes job to fail.

The pipeline job fails with the original .gitlab-ci.yml producing the following errors:

├── nunjucks@3.1.3 (postinstall-build@5.0.1, a-sync-waterfall@1.0.0, asap@2.0.6, yargs@3.32.0, chokidar@2.0.3)
├── moment@2.22.1
├── warehouse@2.2.0 (graceful-fs@4.1.11, is-plain-object@2.0.4, JSONStream@1.3.3, cuid@1.3.8)
└── lodash@4.17.10
npm info ok 
$ hexo deploy
ERROR Local hexo not found in /builds/svavs/svavs.gitlab.io
ERROR Try running: 'npm install hexo --save'
ERROR: Job failed: exit code 1

Merge request reports