diff --git a/scripts/docs/deploy.sh b/scripts/docs/deploy.sh index 49fd8425f9..8c20ea7492 100755 --- a/scripts/docs/deploy.sh +++ b/scripts/docs/deploy.sh @@ -22,6 +22,9 @@ function run { cd .. VERSION=$(readJsonProp "package.json" "version") + #compile API Demos + gulp demos --production=true + # process new docs gulp docs --doc-version="$VERSION_NAME" @@ -29,9 +32,6 @@ function run { gulp docs.sass-variables cp tmp/sass.json $SITE_DIR/docs/v2/theming/overriding-ionic-variables/ - #compile API Demos - gulp demos --production=true - # CD in to the site dir to commit updated docs cd $SITE_DIR