Jekyll Deploy Script
When I began using Jekyll to build my websites with I started developing this script to help me manage the build, and upload of new posts.
This script uses the following variables:
- Location of the key
- Location of the local Jekyll Website Files
- Remote username
- Remote server address
- Remote path to to the files on the server
- Port number to connect to.
The script checks for an existing _site directory and deletes it before building the website again. The rsync command looks at md5sums to determine if files have changed, and does not move them over if the content has changed.
The script is available from My Github Account