diff --git a/update-site.sh b/update-site.sh new file mode 100755 index 000000000..8e6e3d2be --- /dev/null +++ b/update-site.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +source "$HOME/.rvm/scripts/rvm" + +set -e # halt on error + +rvm use --create 2.0.0@vraptor-site +cd vraptor-site +bundle install +npm install +rm -rf output deploy +bundle exec nanoc +grunt +cd .. +git checkout gh-pages +cp -R vraptor-site/deploy/* . +git commit -am 'automatically updating vraptor site'