mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
chore(demos): changing the order so api demos run before docs (so they're committed to ionic-site)
This commit is contained in:
@ -35,12 +35,13 @@ function run {
|
|||||||
# TODO bump version number, github release, changelog, CDN, docs nav update
|
# TODO bump version number, github release, changelog, CDN, docs nav update
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Update API Demos
|
||||||
|
gulp demos
|
||||||
|
|
||||||
# Update docs
|
# Update docs
|
||||||
./scripts/docs/deploy.sh --version-name="$VERSION_NAME"
|
./scripts/docs/deploy.sh --version-name="$VERSION_NAME"
|
||||||
|
|
||||||
# Update API Demos
|
|
||||||
gulp demos
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
source $(dirname $0)/../utils.sh.inc
|
source $(dirname $0)/../utils.sh.inc
|
||||||
|
@ -12,12 +12,13 @@ function init {
|
|||||||
cd ..
|
cd ..
|
||||||
SITE_PATH=$(readJsonProp "config.json" "sitePath")
|
SITE_PATH=$(readJsonProp "config.json" "sitePath")
|
||||||
SITE_DIR=$IONIC_DIR/$SITE_PATH
|
SITE_DIR=$IONIC_DIR/$SITE_PATH
|
||||||
}
|
|
||||||
|
|
||||||
function run {
|
|
||||||
./git/clone.sh --repository="driftyco/ionic-site" \
|
./git/clone.sh --repository="driftyco/ionic-site" \
|
||||||
--directory="$SITE_DIR" \
|
--directory="$SITE_DIR" \
|
||||||
--branch="master"
|
--branch="master"
|
||||||
|
}
|
||||||
|
|
||||||
|
function run {
|
||||||
cd ..
|
cd ..
|
||||||
VERSION=$(readJsonProp "package.json" "version")
|
VERSION=$(readJsonProp "package.json" "version")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user