An easy method for deploying the website to the Raspberry Pi is using Git. This approach provides the added benefits of rollback, version control, and backup. The following script automates the Jekyll build process and handles Git push/pull operations, ensuring the latest website changes are deployed to the Raspberry Pi:

# A script to deloy to the Raspberry Pi
jekyll build
cd _site
git add --all
git commit -m "Web deploy `date`"
git push
ssh pi@leoellis.uk "cd html; git pull"

I wonder if there are more efficient ways to handle this deployment. Perhaps deploying directly to the remote host instead of relying on Git.