-
Notifications
You must be signed in to change notification settings - Fork 11k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deploy to username.github.io #6
Comments
Good point. I personally don't use GitHub pages to host my own homepage, so never thought about that (also it makes more sense for me to keep the |
Thanks for the good work in this, great template! Just to say that it would great to have the option to have it deployed on username.github.io. I got it working without the deploy script, but this meant loosing the capability of jekyll-scholar. Thanks again! |
I wound up writing a little patch for my specific issue. In essence, I cloned the repo, and then built a parallel repo that was for serving the website on a username.github.io site. After building the jekyll site, inside the base repo, I copy over to the serving repo, and push. So, the tree is something like:
And the serve shell script, located in
I didn't want to issue a pull request for this, because it is kind of far outside the use case that you've built toward. |
Hi D. Alex, Thanks for sharing! I will give it a go next time I update my website! Cheers, |
The deploy script now has @nadnaps make sure |
Hi. I updatedthe _config.yml with my url and left the baseurl empty as directed. and the about page runs beautifully, but the other pages, "publications" "projects" and "teaching" are only showing html, just like the about page did before I made the baseurl empty. Possible solution? |
@timothyhibbard Interesting, haven't seen this bug before. What happens if you leave Basically, the paths of CSS and JS resources got messed up. In your case, it looks like the url gets duplicated for some mysterious reason (i.e., the path your page tries to access CSS and JS has the following form: If you figure out what causes the problem, please do let me know, and I'll update the README. |
That worked! I just went back into the _config.yml file and made the url blank as well, and that cleared it all up! Thank you so much! |
Hey! I certainly feel @d-alex-hughes script is very useful, it does work very easily even for custom domain, given that you have CNAME in the username.github.io repo. Also please note that in this case, both url and base_url in_config.yml should be empty to render the themes correctly even if you have custom domain. |
…o provide an actual error message instead of timeout...
…o provide an actual error message instead of timeout... [ci skip]
As you've built this currently, the
./bin/deploy
deploys to agh-page
branch on a user's project repo. But, since the (really handsome!) theme you've built is directed toward academic users, I'm not sure this is really meeting the use case -- single users can only host on theirmaster
branch, per the documentation.I had thought about switching default branches? Perhaps making a
source
branch the default that includes all the_site
and_pages
and_config.yml
etc. content and amaster
branch that includes only the resulting files and structure within_site
? But then, I couldn't get it deploying.So, the issue, probably labeled an enhancement, is -
username.github.io
site?The text was updated successfully, but these errors were encountered: