Prepare docs scripts for beta (#14606)
This sets things up so that when we next roll a dev build to beta, it updates the docs.
This means that for a while (until we publish a beta) the dev docs will not be updating.
diff --git a/dev/bots/docs.sh b/dev/bots/docs.sh
index ef2afed..58fa1b9 100755
--- a/dev/bots/docs.sh
+++ b/dev/bots/docs.sh
@@ -48,8 +48,8 @@
done
fi
- if [ "$TRAVIS_BRANCH" == "dev" ]; then
- echo "Updating dev docs: https://docs.flutter.io/"
+ if [ "$TRAVIS_BRANCH" == "beta" ]; then
+ echo "Updating beta docs: https://docs.flutter.io/"
while : ; do
firebase deploy --project docs-flutter-io && break
echo Error: Unable to deploy documentation to firebase. Retrying in five seconds...