chore(): update docs deploy scripts

This commit is contained in:
Andrew
2014-08-06 12:17:36 -06:00
parent 41a2124d45
commit df3477f131
2 changed files with 2 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ function run {
DATE=$(date +"%Y-%m-%d")
cd $SITE_DIR
npm install
$(replaceInFile "_config.yml" "latest_download:.*$" "latest_download: http:\/\/code.ionicframework.com\/$VERSION\/ionic-v$VERSION.zip")
$(replaceInFile "_config.yml" "latest_version:.*$" "latest_version: $VERSION \"$CODENAME\"")

View File

@@ -26,6 +26,7 @@ function run {
node_modules/.bin/gulp docs-index --dist=$SITE_DIR
cd $SITE_DIR
npm install
CHANGES=$(git status --porcelain)