Last active
November 27, 2015 11:11
-
-
Save bondarewicz/efefa522d6ada902fd07 to your computer and use it in GitHub Desktop.
angular to azure web app via codeship
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
# Following needs to be set in your Codeship environment variables section: | |
# AZURE_REPO_URL e.g: https://username:[email protected]:443/site.git | |
# GITMAIL [email protected] | |
# GITUSER eg. codeship | |
# Config git | |
git config user.email "$GITMAIL" | |
git config user.name "$GITUSER" | |
# check remote | |
git remote -v | |
# add mirror | |
git remote add --mirror=push azure $AZURE_REPO_URL | |
# check if applied | |
git remote -v | |
# Push changes to Azure | |
git push azure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment