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