From 0e3e9cd382f038c1945f7b881fbf4763ee80a417 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Thu, 25 Jun 2020 15:00:07 -0700 Subject: [PATCH] fix(docs-infra): fix typo in the deploy-to-firebase.sh script (#37754) This typo caused the script to fail on Linux (interestingly it works fine on Mac). This is a painful reminder that we should not write any more Bash scripts EVER. shelljs FTW! :-) PR Close #37754 --- aio/scripts/deploy-to-firebase.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/scripts/deploy-to-firebase.sh b/aio/scripts/deploy-to-firebase.sh index a6d7ca38a3..2e7e69c0f9 100755 --- a/aio/scripts/deploy-to-firebase.sh +++ b/aio/scripts/deploy-to-firebase.sh @@ -114,7 +114,7 @@ fi yarn firebase use aio-staging --token "$firebaseToken" yarn firebase target:apply hosting aio $projectId --token "$firebaseToken" yarn firebase deploy --only hosting:aio --message "Commit: $CI_COMMIT" --non-interactive --token "$firebaseToken" - elif + else yarn firebase use "$projectId" --token "$firebaseToken" yarn firebase deploy --message "Commit: $CI_COMMIT" --non-interactive --token "$firebaseToken" fi