File tree 1 file changed +12
-12
lines changed
1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 4
4
5
5
version : ' {build}'
6
6
7
- stack : postgresql 13.4
7
+ stack : postgresql 13.4, docker
8
8
9
9
environment :
10
10
PGUSER : postgres
38
38
- docker
39
39
# REF: https://github.com/docascode/docfx-seed/blob/master/appveyor.yml
40
40
before_build :
41
- - pwsh : |
42
- if (-Not $env:APPVEYOR_PULL_REQUEST_TITLE) {
43
- # https://dotnet.github.io/docfx/tutorial/docfx_getting_started.html
44
- git checkout $env:APPVEYOR_REPO_BRANCH -q
45
- }
46
- # Pinning to previous version, because zip of v2.58.8 (released 2d ago) is corrupt.
47
- # Tracked at https://github.com/dotnet/docfx/issues/7689
48
- choco install docfx -y --version 2.58.5
49
- if ($lastexitcode -ne 0) {
50
- throw "docfx install failed with exit code $lastexitcode."
51
- }
52
41
- sh : |
53
42
# Pull Azure Cosmos Emulator Docker image
54
43
echo "Pulling Azure Cosmos Emulator Docker image for Linux ..."
77
66
if ($isWindows) {
78
67
.\start-cosmos-db-emulator.ps1
79
68
}
69
+ - pwsh : |
70
+ if (-Not $env:APPVEYOR_PULL_REQUEST_TITLE) {
71
+ # https://dotnet.github.io/docfx/tutorial/docfx_getting_started.html
72
+ git checkout $env:APPVEYOR_REPO_BRANCH -q
73
+ }
74
+ # Pinning to previous version, because zip of v2.58.8 (released 2d ago) is corrupt.
75
+ # Tracked at https://github.com/dotnet/docfx/issues/7689
76
+ choco install docfx -y --version 2.58.5
77
+ if ($lastexitcode -ne 0) {
78
+ throw "docfx install failed with exit code $lastexitcode."
79
+ }
80
80
after_build :
81
81
- pwsh : |
82
82
CD ./docs
You can’t perform that action at this time.
0 commit comments