1
1
version : ' {build}'
2
2
os : Visual Studio 2017
3
3
4
+ environment :
5
+ POSTGRES_PORT : tcp://localhost:5432
6
+ POSTGRES_ENV_POSTGRES_USER : postgres
7
+ POSTGRES_ENV_POSTGRES_PASSWORD : Password12!
8
+ POSTGRES_ENV_POSTGRES_DB : JsonApiDotNetCoreExample
9
+ PGUSER : postgres
10
+ PGPASSWORD : Password12!
11
+ Data:DefaultConnection : " Host=localhost;Port=5432;Database=JsonApiDotNetCoreExample;User ID=postgres;Password=Password12!"
12
+ ACCESS_TOKEN :
13
+ secure : g1T332Uarmdgtkftchpafa8tDP/7eM4O0BD6iu1wu+zR224IyH5R8pb4sTChr4Ia
14
+
4
15
# REF: https://github.com/docascode/docfx-seed/blob/master/appveyor.yml
5
16
before_build :
6
17
- ps : |
@@ -24,6 +35,8 @@ after_build:
24
35
Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:ACCESS_TOKEN):x-oauth-basic@github.com`n"
25
36
git config --global user.email "jaredcnance@gmail.com"
26
37
git config --global user.name "Jared Nance"
38
+ git config --global core.autocrlf false
39
+ git config --global core.safecrlf false
27
40
git clone https://github.com/json-api-dotnet/JsonApiDotNetCore.git -b gh-pages origin_site -q
28
41
Copy-Item origin_site/.git _site -recurse
29
42
CD _site
@@ -32,17 +45,6 @@ after_build:
32
45
git push origin gh-pages -q
33
46
}
34
47
35
- environment :
36
- POSTGRES_PORT : tcp://localhost:5432
37
- POSTGRES_ENV_POSTGRES_USER : postgres
38
- POSTGRES_ENV_POSTGRES_PASSWORD : Password12!
39
- POSTGRES_ENV_POSTGRES_DB : JsonApiDotNetCoreExample
40
- PGUSER : postgres
41
- PGPASSWORD : Password12!
42
- Data:DefaultConnection : " Host=localhost;Port=5432;Database=JsonApiDotNetCoreExample;User ID=postgres;Password=Password12!"
43
- ACCESS_TOKEN :
44
- secure : g1T332Uarmdgtkftchpafa8tDP/7eM4O0BD6iu1wu+zR224IyH5R8pb4sTChr4Ia
45
-
46
48
pull_requests :
47
49
do_not_increment_build_number : true
48
50
0 commit comments