Skip to content

Commit e2ba0e7

Browse files
author
Maddie Clayton
authored
Merge pull request #6123 from Azure/qinezh-patch-1
Support to set based branch for git clone content repo
2 parents c45f6db + 4775b48 commit e2ba0e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ build_script:
2020

2121
test: off
2222
on_success:
23-
- git clone -q --branch=%target_branch% %content_repo% %TEMP%\Azure
23+
- git clone -q --branch=%source_branch% %content_repo% %TEMP%\Azure
2424
- cd %TEMP%\Azure
2525
- ps: ls C:\docs -dir | % { copy $_.FullName . -Recurse -Force }
2626
- git add -A
27-
- git diff --quiet --exit-code --cached || git commit -m "Sync docs from source code repo to content repo." && git push origin %target_branch% && appveyor AddMessage "Content Updated"
27+
- git diff --quiet --exit-code --cached || git commit -m "Sync docs from source code repo to content repo." && git push origin %target_branch% -f && appveyor AddMessage "Content Updated"

0 commit comments

Comments
 (0)