Last active
May 21, 2020 11:43
-
-
Save rutvikbhatt9/d47c0e2b552b1a03e535b474749ed986 to your computer and use it in GitHub Desktop.
Create PlayJson directory in Docker container and make play-store-key.json file from CI/CD Variable
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
build_release_android: | |
stage: build_release_android | |
script: | |
- mkdir /PlayJson #make temp directory named PlayJson in root of project | |
- "echo $PLAY_STORE_JSON > /PlayJson/play-store-key.json" # copy git variable value to play-store-key.json file | |
- ./gradlew publishApkRelease # command to publish app on play store | |
only: | |
- master #set trigger for CICD if push or merge in master branch | |
artifacts: | |
paths: | |
- ./app/build/outputs/ # set artifact path which store your APK file |
shouldn't the quotes be removed ?
You can try it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
shouldn't the quotes be removed ?