Skip to content

Commit f786067

Browse files
committed
chore(demos): changing the order so api demos run before docs (so they're committed to ionic-site)
1 parent 6fa2283 commit f786067

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

scripts/ci/deploy.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,13 @@ function run {
3535
# TODO bump version number, github release, changelog, CDN, docs nav update
3636
fi
3737

38+
# Update API Demos
39+
gulp demos
40+
3841
# Update docs
3942
./scripts/docs/deploy.sh --version-name="$VERSION_NAME"
4043

41-
# Update API Demos
42-
gulp demos
43-
44+
4445
}
4546

4647
source $(dirname $0)/../utils.sh.inc

scripts/docs/deploy.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ function init {
1212
cd ..
1313
SITE_PATH=$(readJsonProp "config.json" "sitePath")
1414
SITE_DIR=$IONIC_DIR/$SITE_PATH
15-
}
1615

17-
function run {
1816
./git/clone.sh --repository="driftyco/ionic-site" \
1917
--directory="$SITE_DIR" \
2018
--branch="master"
19+
}
20+
21+
function run {
2122
cd ..
2223
VERSION=$(readJsonProp "package.json" "version")
2324

0 commit comments

Comments
 (0)