blob: a3e3fc05d9aac58c816b13729fd2793be2f97480 [file] [log] [blame]
Mark Szymanskic92a5f22010-10-23 10:57:31 -05001# Open the root of your site in your favorite editor
2
3alias newentry="cd $JEKYLL_LOCAL_ROOT && $EDITOR ."
4
5# Open the _posts/ directory for making a new blog post (seperate from above alias because not everyone uses jekyll for a blog)
6
7alias newpost="cd $JEKYLL_LOCAL_ROOT/_posts && $EDITOR ."
8
9# Build and locally serve the site
10
11alias testsite="cd $JEKYLL_LOCAL_ROOT && jekyll --server --auto"
12
13# Build but don't locally serve the site
14
15alias buildsite="cd $JEKYLL_LOCAL_ROOT && rm -rf _site/ && jekyll"
16
17# Rsync the site to the remote server
18
Mark Szymanski21820272010-10-23 11:10:37 -050019alias deploysite="cd $JEKYLL_LOCAL_ROOT && rsync -rz _site/ $JEKYLL_REMOTE_ROOT"