jekyllt / jasper

Full-featured Jekyll port of Ghost's default theme Casper 👻
https://jekyller.github.io/jasper/
MIT License
580 stars 348 forks source link

Problem on Build page 2 #45

Closed alvarmaciel closed 7 years ago

alvarmaciel commented 7 years ago

Hi, I have manage to build the site using Travis CI. I'm working on the master branch because is a USERNAME.github.io site. But it doesn't load the CSS on page 2. The site is on https://github.com/acercadelaeducacion/acercadelaeducacion.github.io/ and my _config.yml is

safe: false lsi: false username: acercadelaeducacion repo: acercadelaeducacion.github.io branch: master relative_source: ../ destination: ../jasper-pages/ production_url: https://acercadelaeducacion.github.io/ source_url: https://github.com/acercadelaeducacion/acercadelaeducacion.github.io/

i don't know what is wrong. Now i have this error on travis:

Switched to branch 'master'

Your branch is up-to-date with 'origin/master'.

error: pathspec 'gh-pages' did not match any file(s) known to git.

rake aborted!

Command failed with status (1): [git checkout gh-pages...]

/home/travis/build/acercadelaeducacion/acercadelaeducacion.github.io/Rakefile:61:in `block (3 levels) in <top (required)>'

/home/travis/build/acercadelaeducacion/acercadelaeducacion.github.io/Rakefile:61:in `chdir'

/home/travis/build/acercadelaeducacion/acercadelaeducacion.github.io/Rakefile:61:in `block (2 levels) in <top (required)>'

/home/travis/.rvm/gems/ruby-2.1.10/bin/ruby_executable_hooks:15:in `eval'

/home/travis/.rvm/gems/ruby-2.1.10/bin/ruby_executable_hooks:15:in `

'

Tasks: TOP => site:deploy

(See full trace by running task with --trace)

The command "bundle exec rake site:deploy --quiet" exited with 1.

alvarmaciel commented 7 years ago

Digging a little bit further, I think that the problem is the setting for the deploy task. How can I make the deploy to "master" instead of gh-page?

alvarmaciel commented 7 years ago

ok. I change the rake task to build and it build on master. But I still have a problem in the page 2