Skip to content

Instantly share code, notes, and snippets.

@ra9r
Created June 29, 2019 23:53
Show Gist options
  • Save ra9r/6c8eb1ef3cb7401ee87fc3eb62bed9e5 to your computer and use it in GitHub Desktop.
Save ra9r/6c8eb1ef3cb7401ee87fc3eb62bed9e5 to your computer and use it in GitHub Desktop.
How to install GoogleService-Info.plist and google-services.json from env variables #codemagic #cicd
#!/usr/bin/env sh
set -e # exit on first failed commandset
echo $ANDROID_FIREBASE_SECRET | base64 --decode > $FCI_BUILD_DIR/android/app/google-services.json
echo $IOS_FIREBASE_SECRET | base64 --decode > $FCI_BUILD_DIR/ios/Runner/GoogleService-Info.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment