4 ms·
I'm interested to hear what folks use to kickoff Hugo for sites hosted on GitHub Pages? TravisCI, CircleCI, etc? This considering GH pages has build-in support
by rickette 11y ago
I'm interested to hear what folks use to kickoff Hugo for sites hosted on GitHub Pages? TravisCI, CircleCI, etc?
This considering GH pages has build-in support for Jekyll but not for other static site generators.
- spf13 11y agoI like Wercker which works well on github pages, s3 and ssh. There's a good tutorial at https://gohugo.io/tutorials/automated-deployments/ https://gohugo.io/tutorials/automated-deployments/ I just used this technique for https://stevefrancia.com https://stevefrancia.com and the wercker files are at https://github.com/spf13/stevefrancia.com https://github.com/spf13/stevefrancia.com
- ryanclarke 11y agoI just build locally and push the results to GitHub. Master branch is the generated site, hugo branch is for the code.
- bobfunk 11y agoGive netlify a try https://www.netlify.com https://www.netlify.com It's like GitHub pages on steroids (SSL, redirects/rewrite rules, proxying, domain aliases, etc, etc...). It'll run any build tool for you (not just Jekyll) and we have built-in support for Hugo: https://www.netlify.com/blog/2015/10/06/a-step-by-step-guide-hugo-on-netlify https://www.netlify.com/blog/2015/10/06/a-step-by-step-guide... Disclaimer: I'm a founder :)
- imperialWicket 11y agoI use a git hook that builds locally on commits to master (with some cleaning just in case I was testing weird things from non-master). I host on s3, but I don't think the s3 transfer vs github push is of great consequence here.
- jgowans 11y agoWercker's a great option with Aerobatic & Bitbucket. Here's a blog post on how to set it all up: http://www.aerobatic.com/blog/hugo-continuous-integration-with-wercker-aerobatic-and-bitbucket.html http://www.aerobatic.com/blog/hugo-continuous-integration-wi... disclaimer: I work for Aerobatic