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

Not a git repository (or any of the parent directories): .git

Open lsolesen opened this issue 7 years ago • 0 comments

In my repository https://github.com/vih/historie/tree/master I am trying to get this to work. But I must be doing something wrong, as I get this error: https://travis-ci.org/vih/historie/builds/280556845

0.41s$ bundle exec rake site:deploy --quiet
Switched to branch 'master'
M	Gemfile.lock
Your branch is up-to-date with 'origin/master'.
fatal: Not a git repository (or any of the parent directories): .git
rake aborted!
Command failed with status (128): [git checkout gh-pages...]
/home/travis/build/vih/historie/Rakefile:211:in `block (3 levels) in <top (required)>'
/home/travis/build/vih/historie/Rakefile:211:in `chdir'
/home/travis/build/vih/historie/Rakefile:211:in `block (2 levels) in <top (required)>'
/home/travis/.rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:15:in `eval'
/home/travis/.rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => site:deploy
(See full trace by running task with --trace)

I would be very happy if, you could give me a head up for what is wrong.

I tried with both _site and ../gh-pages/ in the ´_config.yml´ https://github.com/vih/historie/blob/master/_config.yml#L23

lsolesen avatar Sep 27 '17 18:09 lsolesen