-
-
Save mark-software/29390b599ed08b3cf0b03915084ac9a6 to your computer and use it in GitHub Desktop.
Example showing how to use branch level execution on CircleCi to deploy builds
This file contains 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
- run: | |
name: Upload build to App Center (if develop, release, or master) | |
command: | | |
if [ "$CIRCLE_BRANCH" == "develop" ] || [[ "$CIRCLE_BRANCH" == "release/"* ]]; then | |
bash ./ProjectRoot/.signing/deploy.sh dev $APP_CENTER_API_TOKEN_STAGING | |
fi | |
if [ "$CIRCLE_BRANCH" == "master" ]; then | |
bash ./ProjectRoot/.signing/deploy.sh release $APP_CENTER_API_TOKEN_PROD | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment