18 Jan 2018
I’ve written about my Jekyll build script before. I use this script to deploy this site among others. It is terribly over-engineered and unnecessary.
Here is the new and improved version. Instructions for use are below the code itself.
- JS Minification
- JS Babel Compiler
- HTML Minification
- CSS Minification
- Thumbnail Generation
- Intelligent Image Compression
- Favicon Generation
- Jekyll Build Process
- Automatic Upload to S3
- Setup Mode (Installs Dependencies)
- Sane Image Names (
JPG, etc to
How to Use
Copy the script into a new text file and save the file in the root of your Jekyll directory as
Make sure to set up the options under
# BUILD OPTIONS - EDIT THESE in
Install dependencies by running
sh upload.sh -s. Requires
Then, run the build script by running
sh upload.sh -c.
Sample Build Output
Any problems, just email me.