Skip to content

Commit a76213a

Browse files
committed
ignore git line endings when commiting docs build
1 parent ec36abc commit a76213a

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

appveyor.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
version: '{build}'
22
os: Visual Studio 2017
33

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+
415
# REF: https://github.com/docascode/docfx-seed/blob/master/appveyor.yml
516
before_build:
617
- ps: |
@@ -24,6 +35,8 @@ after_build:
2435
Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:ACCESS_TOKEN):x-oauth-basic@github.com`n"
2536
git config --global user.email "jaredcnance@gmail.com"
2637
git config --global user.name "Jared Nance"
38+
git config --global core.autocrlf false
39+
git config --global core.safecrlf false
2740
git clone https://github.com/json-api-dotnet/JsonApiDotNetCore.git -b gh-pages origin_site -q
2841
Copy-Item origin_site/.git _site -recurse
2942
CD _site
@@ -32,17 +45,6 @@ after_build:
3245
git push origin gh-pages -q
3346
}
3447
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-
4648
pull_requests:
4749
do_not_increment_build_number: true
4850

0 commit comments

Comments
 (0)