Skip to content

Instantly share code, notes, and snippets.

@revbucket
Created March 31, 2017 14:06
Show Gist options
  • Save revbucket/25678a534c24595f77e2e59fef1c9b7d to your computer and use it in GitHub Desktop.
Save revbucket/25678a534c24595f77e2e59fef1c9b7d to your computer and use it in GitHub Desktop.
Cron script for blog deployments
dropbox start;
now="$(date +'%d-%m-%Y')";
cd Dropbox/revbucket.github.io;
jekyll build;
cd _site;
git add .;
git commit -m "Blog update: $now";
git push;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment