Deployment via /docs folder on master branch

Hello Hugoers,
I have turned to hugo after github failed to build a large jekyll site. I have the site working locally,
added publishDir: “docs” to my config.toml, configured github to serve from master/docs, added
a cname for my custom domain, but I don’t know why github sends me failure to build errors (I am not building jekyll!). Not sure what more needs to be done to let github know I am not attempting to build a jekyll blog, and only want to serve built pages from docs.

Not sure if this is needed from that directory, but maybe try adding a .nojekyll file to your root (via the static folder). Alternatively, you might want to check out Netlify, which has a free tier to compete with Github Pages.

1 Like