hermit icon indicating copy to clipboard operation
hermit copied to clipboard

Add Stackbit Integration

Open RistoBIn opened this issue 5 years ago • 3 comments

This pull request add's Stackbit to this Hugo theme. It add's the stackbit.yaml file which makes this theme work with several headless CMS automatically (including Forestry, NetlifyCMS, DatoCMS & Contentful) and it deploys the site to Netlify in 1 click.

You can try it out: https://app.stackbit.com/create?theme=https://github.com/stackbithq/hermit (note the "create with stackbit" button in the readme will import the theme from your repo so until the PR is merged it wont work)

I think this is really valuable and is a very low impact addition on your existing theme structure. Pretty much just the stackbit.yaml file. If you have questions or feedback I'm happy to discuss.

Risto

RistoBIn avatar Sep 10 '19 08:09 RistoBIn

yes, netlify.toml was modified. Btw, automatic building in netlify will be working. Is that not working?

RistoBIn avatar Oct 27 '19 09:10 RistoBIn

Although it didn't say build failed, the build command is not correct. as you can see below deploy log, full log can be found here

4:47:59 PM: No build command found, continuing to publishing
4:47:59 PM: Starting to deploy site from ''

This repo use the exampleSite/ folder as Hugo base directory, so theme directory is ../... This is different from a normal hugo site repo (usually uses repo's root as the base dir).

Track3 avatar Oct 27 '19 11:10 Track3

Stackbit system build also based on /example folder. If building is not failed, we may use this netlify.toml. Because, stackbit will occur issue with original netlify.toml. Hope to know your expectation. Thank you.

RistoBIn avatar Oct 29 '19 06:10 RistoBIn