From f786067b423e8f628a77f4bfff98513671940170 Mon Sep 17 00:00:00 2001 From: perry Date: Mon, 1 Feb 2016 17:59:04 -0600 Subject: [PATCH] chore(demos): changing the order so api demos run before docs (so they're committed to ionic-site) --- scripts/ci/deploy.sh | 7 ++++--- scripts/docs/deploy.sh | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/scripts/ci/deploy.sh b/scripts/ci/deploy.sh index ac031e81dc..869cc8a382 100755 --- a/scripts/ci/deploy.sh +++ b/scripts/ci/deploy.sh @@ -35,12 +35,13 @@ function run { # TODO bump version number, github release, changelog, CDN, docs nav update fi + # Update API Demos + gulp demos + # Update docs ./scripts/docs/deploy.sh --version-name="$VERSION_NAME" - # Update API Demos - gulp demos - + } source $(dirname $0)/../utils.sh.inc diff --git a/scripts/docs/deploy.sh b/scripts/docs/deploy.sh index 855cc1dde5..7189098d57 100755 --- a/scripts/docs/deploy.sh +++ b/scripts/docs/deploy.sh @@ -12,12 +12,13 @@ function init { cd .. SITE_PATH=$(readJsonProp "config.json" "sitePath") SITE_DIR=$IONIC_DIR/$SITE_PATH -} -function run { ./git/clone.sh --repository="driftyco/ionic-site" \ --directory="$SITE_DIR" \ --branch="master" +} + +function run { cd .. VERSION=$(readJsonProp "package.json" "version")