Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 3

Is it possible to load site from /dist folder?

Solved! Go to Solution.

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.

2 Replies
Solution
Community Manager
Message 2 of 3

Re: Is it possible to load site from /dist folder?

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!

 

 


Best,
AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Highlighted
Copilot Lvl 2
Message 3 of 3

Re: Is it possible to load site from /dist folder?

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