From f5c79cfa370c8269a74009be84f73bb4961ab844 Mon Sep 17 00:00:00 2001 From: Dylan Price Date: Wed, 7 Aug 2013 21:06:15 -0700 Subject: [PATCH] Script for pushing docs and builds to heroku. --- heroku.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 heroku.sh diff --git a/heroku.sh b/heroku.sh new file mode 100755 index 0000000..62fcfd8 --- /dev/null +++ b/heroku.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +rm -rf dist/ && \ +grunt build && \ +git checkout heroku && \ +cp dist/*.js . && \ +cp -r node_modules/grunt-docular/node_modules/docular/lib/webapp/* . && \ +cp -r node_modules/grunt-docular/node_modules/docular/lib/webapp/.htaccess . && \ +cp index.html index.php && \ +git add . && \ +git commit -m"Update to latest angular-gm release." && \ +git push heroku heroku:master && \ +git checkout master +