Skip to content

Commit

Permalink
Script for pushing docs and builds to heroku.
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanfprice committed Aug 8, 2013
1 parent 0e50064 commit f5c79cf
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions 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

0 comments on commit f5c79cf

Please sign in to comment.