Is it possible to load site from /dist folder?

My setup includes a /source and /dist directory and I’m wondering if it’s possible to serve up the site from /dist? This is not a Jekyll site, I’m only using Gulp tasks to compile and move files from /source to /dist. Any help is appreciated.

Hi @lostsatellites,

Thanks for being here! Two things for your reference Gulp has a way to do this directly or you can create a bash script ie:

git subtree push --prefix dist origin gh-pages

Otherwise, you can deploy your pages from a doc folder as seen in the documentation.

I hope this helps!


Thanks @andreagriffiths11! A couple of good options to explore here.

1 Like