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.
This commit is contained in:
Ian Hickson 2018-02-12 21:52:42 -08:00 committed by GitHub
parent 7be0bd1ce9
commit e142d8dccb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,8 +48,8 @@ if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
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...