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")