Created
January 5, 2022 11:08
-
-
Save majirosstefan/01a597ea6c1a88183a80f2f5009b7124 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Firebase Config using base64 | |
echo "Injecting secrets..." | |
echo "Updating Google JSON" | |
echo $GoogleServicesJson | base64 --decode >"$APPCENTER_SOURCE_DIRECTORY/android/app/google-services.json" | |
echo "Updating Google plist" | |
echo $GoogleServicesPlist | base64 --decode >"$APPCENTER_SOURCE_DIRECTORY/ios/GoogleService-Info.plist" | |
echo "Finished injecting secrets..." | |
echo "Google Services" | |
cat "$APPCENTER_SOURCE_DIRECTORY/ios/GoogleService-Info.plist" | |
echo "IsDev=${IsDev}" >>.env | |
echo "APPCENTER_BUILD_ID=${APPCENTER_BUILD_ID}" >>.env | |
echo "APPCENTER_BRANCH=${APPCENTER_BRANCH}" >>.env |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment