vigetlabs / blendid

A delicious blend of gulp tasks combined into a configurable asset pipeline and static site builder
MIT License
4.97k stars 680 forks source link

Error in plugin 'gulp-gh-pages' #483

Closed xavianaxw closed 7 years ago

xavianaxw commented 7 years ago

Tried to push my website to gh pages with yarn run blendid -- gh-pages but got this error

[17:05:23] Starting 'gh-pages'...
[17:05:23] 'gh-pages' errored after 84 ms
[17:05:23] Error in plugin 'gulp-gh-pages'
Message:
    Command failed: git rev-list --pretty=raw --max-count=1
usage: git rev-list [OPTION] <commit-id>... [ -- paths... ]
  limiting output:
    --max-count=<n>
    --max-age=<epoch>
    --min-age=<epoch>
    --sparse
    --no-merges
    --min-parents=<n>
    --no-min-parents
    --max-parents=<n>
    --no-max-parents
    --remove-empty
    --all
    --branches
    --tags
    --remotes
    --stdin
    --quiet
  ordering output:
    --topo-order
    --date-order
    --reverse
  formatting output:
    --parents
    --children
    --objects | --objects-edge
    --unpacked
    --header | --pretty
    --abbrev=<n> | --no-abbrev
    --abbrev-commit
    --left-right
    --count
  special purpose:
    --bisect
    --bisect-vars
    --bisect-all

Details:
    killed: false
    code: 129
    signal: null
    cmd: git rev-list --pretty=raw --max-count=1
Done in 3.59s.

Help me :(

CosAnca commented 7 years ago

@xavianaxw The right command is yarn run blendid -- ghPages.

xavianaxw commented 7 years ago

yarn run blendid -- ghPages will result in the following

yarn run v0.24.6
$ "/Users/xavianaxw/Code/landing-v2/node_modules/.bin/blendid" ghPages

[17:35:08] Working directory changed to ~/Code/landing-v2/node_modules/blendid
[17:35:10] Using gulpfile ~/Code/landing-v2/node_modules/blendid/gulpfile.js
[17:35:10] Task 'ghPages' is not in your gulpfile
[17:35:10] Please check the documentation for proper gulpfile formatting
✨  Done in 3.28s.
xavianaxw commented 7 years ago

Anyway it's working now. Probably something to do with GH pages or something.

shrijanRegmi commented 4 years ago

Can anyone help me solve that with npm ?