diff --git a/scripts/docs/deploy.sh b/scripts/docs/deploy.sh index e6b47bc027..799451576f 100755 --- a/scripts/docs/deploy.sh +++ b/scripts/docs/deploy.sh @@ -23,7 +23,9 @@ function run { gulp docs --doc-version="$VERSION_NAME" - sassvars() + # compile sass vars json for ionic-site docs + gulp docs.sass-variables + cp tmp/sass.json $SITE_DIR/docs/v2/theming/overriding-ionic-variables/ cd $SITE_DIR @@ -43,9 +45,4 @@ function run { } -function sassvars { - gulp docs.sass-variables - cp tmp/sass.json $SITE_DIR/docs/v2/theming/overriding-ionic-variables/ -} - source $(dirname $0)/../utils.sh.inc