Skip to content

Commit 77ab66a

Browse files
committed
fix ci
1 parent 308449f commit 77ab66a

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

appveyor.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ branches:
2020
- unstable
2121
- /release\/.+/
2222

23-
clone_script:
24-
- ps: |
25-
git clone --branch=$env:appveyor_repo_branch [email protected]:$env:appveyor_repo_name.git $env:appveyor_build_folder
26-
git fetch -q origin +refs/pull/$env:appveyor_pull_request_number/merge:
27-
git checkout -qf FETCH_HEAD
28-
2923
pull_requests:
3024
do_not_increment_build_number: true
3125

@@ -43,9 +37,14 @@ for:
4337
services:
4438
- postgresql101
4539
# REF: https://github.com/docascode/docfx-seed/blob/master/appveyor.yml
40+
clone_script:
41+
- ps: |
42+
git clone --branch=$env:APPEVEYOR_REPO_BRANCH [email protected]:$env:APPEVEYOR_REPO_NAME.git $env:APPEVEYOR_BUILD_FOLDER
43+
git fetch -q origin +refs/pull/$env:APPEVEYOR_PULL_REQUEST_NUMBER/merge:
44+
git checkout -qf FETCH_HEAD
4645
before_build:
4746
- pwsh: |
48-
if (-Not $env:APPVEYOR_PULL_REQUEST_TITLE) {
47+
if (-Not $env:APPEVEYOR_PULL_REQUEST_TITLE) {
4948
# https://dotnet.github.io/docfx/tutorial/docfx_getting_started.html
5049
git checkout $env:APPVEYOR_REPO_BRANCH -q
5150
}

0 commit comments

Comments
 (0)