Skip to content

Commit

Permalink
update build
Browse files Browse the repository at this point in the history
  • Loading branch information
eladb committed Feb 9, 2012
1 parent 9c068d7 commit 31ac077
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion build.sh
@@ -1,6 +1,18 @@
#/bin/bash
git remote add out git@github.com:eladb/test-eladb.github.com.git || exit 1

# add the output repository and rebase to it
USERNAME=eladb
PASSWORD=XXX
REPO=https://$USERNAME:$PASSWORD@github.com/eladb/test-eladb.github.com.git
git remote add out $REPO || exit 1
git fetch out || exit 1
git rebase out/master || exit 1

# now build the website
node_modules/.bin/jade *.jade || exit 1

# push to the output repo
git add . || exit 1
git commit -am 'build results' || exit 1
git push out master || exit 1

0 comments on commit 31ac077

Please sign in to comment.