Skip to content

Commit f5c79cf

Browse files
committed
Script for pushing docs and builds to heroku.
1 parent 0e50064 commit f5c79cf

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

heroku.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
3+
rm -rf dist/ && \
4+
grunt build && \
5+
git checkout heroku && \
6+
cp dist/*.js . && \
7+
cp -r node_modules/grunt-docular/node_modules/docular/lib/webapp/* . && \
8+
cp -r node_modules/grunt-docular/node_modules/docular/lib/webapp/.htaccess . && \
9+
cp index.html index.php && \
10+
git add . && \
11+
git commit -m"Update to latest angular-gm release." && \
12+
git push heroku heroku:master && \
13+
git checkout master
14+

0 commit comments

Comments
 (0)