deploy-jekyll-gh-pages

deploy-jekyll-gh-pages

Script to Deploy a Jekyll Site to Github Pages

Deploy Script for Jekyll Site Hosted on Github Pages

Script is written for a Jekyll Site hosted on Github Pages, it should be modified if using it for a personal Github Pages site

  • Make sure you have a gh-pages branch on your repo, create one if you don't
  • Put this script at the root of your development branch
  • Run the script while on your development branch only
  • It will build your site and publish only the built files to your gh-pages branch where Github Pages knows to serve the files
jekyll logo

Want a Jekyll website built?

Hire a Jekyll developer