Best way to deploy jekyll based site in sharepoint?

973 views Asked by At

I have created Jekyll site. Which creates html file for each Markdown file. It is hosted in sharepoint. What is the best way to update it ?

I don't want each time to generated site locally and copy the html file across to sharepoint.

Suggest some best way to deploy ?

2

There are 2 answers

0
einverne On

I believe you are using Windows Operating System. So follow this guide to run Jekyll on Windows.

0
Evan Chiu On

The best way to deploy is to open the SharePoint site in Windows Explorer, which is an option under the Actions menu when you're browsing SharePoint using Internet Explorer. This will enable you to interact with SharePoint as a regular network filesystem.

Then once you've built your site using Jekyll, you can deploy it by simply copying the output files from _site into the appropriate SharePoint folder.

Alternately, you can use the --destination flag on Jekyll's build command to build straight into the mapped SharePoint directory.