Skip to content

Instantly share code, notes, and snippets.

@fuzzmz
Created November 23, 2012 09:14
Show Gist options
  • Save fuzzmz/4134686 to your computer and use it in GitHub Desktop.
Save fuzzmz/4134686 to your computer and use it in GitHub Desktop.
Pelican auto-make and push script
#!/bin/sh
pelican -s /path/to/pelicanconf.py /path/to/content -o /path/to/$username.github.com -t /path/to/yourtheme
cd /path/to/$username.github.com
git add .
git commit -am "update blog"
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment