Permalink
Browse files

Add deploy script

  • Loading branch information...
1 parent 37d3c44 commit b0218972b3a6a13b157a132def4135e1006a9300 @ISF committed Mar 4, 2013
Showing with 9 additions and 0 deletions.
  1. +9 −0 deploy.sh
View
9 deploy.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+if [[ -x hakyll ]]; then
+ #./hakyll rebuild && scp -r _site/* lsc:~/public_html
+ ./hakyll rebuild && rsync -avz _site/* sdf:~/html
+ ssh sdf mkhomepg -p
+else
+ echo "Deploy error: no hakyll executable"
+fi

0 comments on commit b021897

Please sign in to comment.