Skip to content

Instantly share code, notes, and snippets.

@bondarewicz
Last active November 27, 2015 11:11
Show Gist options
  • Save bondarewicz/efefa522d6ada902fd07 to your computer and use it in GitHub Desktop.
Save bondarewicz/efefa522d6ada902fd07 to your computer and use it in GitHub Desktop.
angular to azure web app via codeship
# 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