Last active
March 5, 2020 13:04
-
-
Save ngohungphuc/0f95171ab8175ffc6ccc521207ecc023 to your computer and use it in GitHub Desktop.
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
trigger: | |
- master | |
pool: | |
vmImage: 'windows-2019' | |
steps: | |
- script: | | |
git config --global core.longpaths true | |
git config --global user.email "your email" | |
git config --global user.name "your github user name" | |
git checkout master | |
git pull --all | |
git add . | |
git commit -m "sync from azure devops" | |
git push https://$(git_token)@github.com/user_name/repo_name.git -f | |
displayName: 'Run git sync' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment