mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
change branch var
This commit is contained in:
parent
767bf5fa6f
commit
1c854cd9c1
1 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ steps:
|
|||
git config --global user.name "$(GitHub.Name)"
|
||||
git config --global user.email "$(GitHub.Email)"
|
||||
git clone $(Build.Repository.Uri) .
|
||||
git checkout $(System.PullRequest.SourceBranch)
|
||||
git checkout $(Build.SourceBranch)
|
||||
displayName: checkout source branch
|
||||
|
||||
- bash: |
|
||||
|
|
@ -73,6 +73,6 @@ steps:
|
|||
- script: |
|
||||
git config --global credential.helper store
|
||||
echo "https://$(GitHub.PAT):x-oauth-basic@github.com" >> ~/.git-credentials
|
||||
git push origin $(System.PullRequest.SourceBranch)
|
||||
git push origin $(Build.SourceBranch)
|
||||
displayName: git push
|
||||
condition: and(ne(variables['abortIfJustMigrated.aborted'], 'true'), succeeded())
|
||||
|
|
|
|||
Loading…
Reference in a new issue