mirror of
https://github.com/BretFisher/jekyll-serve.git
synced 2026-07-22 13:53:45 -04:00
(question) docker jekyll-serve read _config.yml #37
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Vctrsnts on GitHub (Feb 10, 2023).
Hello,
First of all, sorry if my question is not a problem with your image and it is a jekyll problem that I have to solve on my own.
I use your jekyll-serve image, but I have a question about how it works locally and then upload the result to github.
The question is the following, I have configured the
_config.yml -> urlwith my web address but when executing the image thefeed.xmlfile maintains the following address http://0.0.0.0:4000 and there is no way to change that address (no matter how many changes you make to the configuration file and how many times you reboot the image). It's like it ignores the_config.ymlfile.But on the other hand, if I execute from within the image
bundle exec jekyll build --watchall the files are regenerated correctly, 0ncluding thefeed.xml, but this time with the correct address (the one that I have informed in the url of_config. yml).This is where I have the doubt, that it has to be done like this (because of the operation of the image) or is it that the image does not read the configuration file
_config.ymlwhen it starts.Thank you very much for all your work.
@BretFisher commented on GitHub (Feb 13, 2023):
Sorry that's a Jekyll question that I know nothing about. The
jekyll-serveimage runsjekyll serveand your doing ajekyll build. Maybe there's a difference there.