Skip to content

Commit 405f372

Browse files
committed
chore(deploy): make deploy tasks for site not parallel
1 parent 128022b commit 405f372

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

scripts/circle/deploy.sh

+5-4
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,17 @@ function run {
3838
fi
3939
;;
4040
1)
41-
# Update site config: release only
42-
if [[ "$IS_RELEASE" == "true" ]]; then
43-
./scripts/site/config.sh
44-
fi
4541
# Update app-base: release only
4642
if [[ "$IS_RELEASE" == "true" ]]; then
4743
./scripts/app-base/publish.sh
4844
fi
4945
;;
5046
2)
47+
# Be sure to update the site one after the other,
48+
# so the tasks don't have a push conflict
49+
if [[ "$IS_RELEASE" == "true" ]]; then
50+
./scripts/site/config.sh
51+
fi
5152
# Update docs
5253
./scripts/site/docs.sh --version-name="$VERSION_NAME"
5354
;;

0 commit comments

Comments
 (0)