mfenner/jekyll-travis

Sample of _config.yml for github project

pyrog opened this issue · 1 comments

Hi,

Your examples config are for user github pages.
Could you please, give an example for project page?

add the following to your Jekyll _config.yml file: username, repo and branch.
make sure destination in _config.yml matches the path to the destination repo defined above.

Some points aren't clear for me:

  • branch seem to be unused in the Makefile for projects
  • what do you mean by "path to the destination repo defined above" ?

    In _config.yml, I set destination: _site

Something is wrong in my config and the rakefile fail:

git push origin gh-pages
remote: Invalid username or password.
fatal: Authentication failed for 'https://pyrog:TOKEN@github.com/pyrog/learnosm-sandbox.git/'
rake aborted!

PS: the repository URL for opening science source is https://github.com/openingscience/book 😉

I have kind of the same issue here. I generated my secure again with the travis command but when I try to deploy I get this

*** Please tell me who you are.
Run
  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: empty ident name (for <>) not allowed
rake aborted!