Closed koansang closed 7 years ago
I think beacause don't set base url. How do I set the base url?
I fixed this issue.
Changed deploy
script that added --baseurl
option after bundle exec jekyll build
command.
So you just changed https://github.com/nielsenramon/chalk/blob/master/bin/deploy#L19 to account for a custom baseurl? This may be useful for others.
@migueldemoura yes~!!
For example, If run bundle exec jekyll build --baseurl '/dev'
will make default static url is https://xxxx.github.io/dev
Did you add the baseurl config to _config.yml
?
@migueldemoura
No. How get _config.yml
option in deploy
file?
Add a line with: baseurl: dev
, to _config.yml
.
@migueldemoura Thanks a lot~!!
Glad that helped!
@migueldemoura Thanks for the help! :-) You think we should add something to the readme for this?
@nielsenramon, might be a good idea, seems like a common enough desire among users
I'm run
./bin/deploy
and deployed successfully. But page error when enter the my Github pages.Error message is :
What's problem?