Skip to content

Commit 0caa46f

Browse files
author
Shammamah Hossain
authored
Merge pull request plotly#255 from plotly/gallery-app-error-handling
Add error message/handling for case in which there is no app on Gallery.
2 parents 87f8820 + f89768f commit 0caa46f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
echo $PLOTLY_GA_CODE > ~/dash-sample-apps/apps/"$APP"/assets/plotly_ga.js
103103
git add ~/dash-sample-apps/apps/"$APP"/assets/plotly_ga.js && git commit -m "Deployed commit: $CIRCLE_SHA1"
104104
git remote add $APP https://dash-gallery.plotly.host/GIT/$APP
105-
git push $APP master --force
105+
git push $APP master --force || echo "Deploy failed because there is no such app on Dash Gallery: $APP. Please use the web interface to create an app with this name. Continuing deployments..."
106106
done
107107
- run:
108108
name: Push to production

0 commit comments

Comments
 (0)