chore(deploy): make deploy tasks for site not parallel

This commit is contained in:
Andrew Joslin
2014-06-16 21:02:54 +00:00
parent 128022bd92
commit 405f372b66

View File

@@ -38,16 +38,17 @@ function run {
fi
;;
1)
# Update site config: release only
if [[ "$IS_RELEASE" == "true" ]]; then
./scripts/site/config.sh
fi
# Update app-base: release only
if [[ "$IS_RELEASE" == "true" ]]; then
./scripts/app-base/publish.sh
fi
;;
2)
# Be sure to update the site one after the other,
# so the tasks don't have a push conflict
if [[ "$IS_RELEASE" == "true" ]]; then
./scripts/site/config.sh
fi
# Update docs
./scripts/site/docs.sh --version-name="$VERSION_NAME"
;;