Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

How can I automatically deploy a Jekyll website on a production server?

I have build locally a Jekyll website but would like to automatically sync the _site folder with the production server. I have been searching for different solutions but none of them have worked, neither with Github nor Bitbucket pipelines.

I am looking for an easy solution that can help me sync the _site folder every time I push changes to the master locally.

I would appreciate any help!

Cheers!

2 Answers

Simon Duchaine
Simon Duchaine
14,441 Points

Hi Anthony,

Did you have a look at Netlify? It's free and pretty awesome! :)

I saw it, haven't tried it yet. However I was looking for a way to deploy without this third party app. I guess I'm gonna have to try Netlify! ;]

Simon Duchaine
Simon Duchaine
14,441 Points

But what`s nice is that netlify syncs with your github repo and automatically deploy the app when something is changed in your repo.