2013-10-03 13:44:48 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2013-11-09 10:54:10 +00:00
|
|
|
# Publish to NPM
|
2013-10-03 13:44:48 +00:00
|
|
|
|
2013-11-09 10:54:10 +00:00
|
|
|
npm publish || exit 1
|
2013-10-03 13:44:48 +00:00
|
|
|
|
2013-11-09 10:54:10 +00:00
|
|
|
# Deploy latest build to github
|
2013-10-03 13:44:48 +00:00
|
|
|
|
|
|
|
pushd ../jermolene.github.com
|
|
|
|
|
|
|
|
git add --all || exit 1
|
|
|
|
|
|
|
|
git commit -m "Updates" || exit 1
|
|
|
|
|
|
|
|
git push origin || exit 1
|
|
|
|
|
|
|
|
popd
|