jekyll-travis icon indicating copy to clipboard operation
jekyll-travis copied to clipboard

Sample of _config.yml for github project

Open pyrog opened this issue 11 years ago • 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:[email protected]/pyrog/learnosm-sandbox.git/'
rake aborted!

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

pyrog avatar Feb 01 '15 13:02 pyrog

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 "[email protected]"
  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!

guidouil avatar Sep 14 '18 08:09 guidouil