File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ environment:
10
10
PGUSER : postgres
11
11
PGPASSWORD : Password12!
12
12
GIT_ACCESS_TOKEN :
13
- secure : g1T332Uarmdgtkftchpafa8tDP/7eM4O0BD6iu1wu+zR224IyH5R8pb4sTChr4Ia
13
+ secure : vw2jhp7V38fTOqphzFgnXtLwHoHRW2zM2K5RJgDAnmkoaIKT6jXLDIfkFdyVz9nJ
14
14
15
15
branches :
16
16
only :
52
52
throw "docfx build failed with exit code $lastexitcode."
53
53
}
54
54
55
+ # https://www.appveyor.com/docs/how-to/git-push/
55
56
git config --global credential.helper store
56
- Add -Content "$env:USERPROFILE \.git-credentials" "https://$($env:GIT_ACCESS_TOKEN):x-oauth-basic@github.com`n"
57
- git config --global user.email "jaredcnance@gmail.com "
58
- git config --global user.name "Jared Nance "
57
+ Set -Content -Path "$HOME \.git-credentials" -Value "https://$($env:GIT_ACCESS_TOKEN):x-oauth-basic@github.com`n" -NoNewline
58
+ git config --global user.email "cibuild@jsonapi.net "
59
+ git config --global user.name "json-api-cibuild "
59
60
git config --global core.autocrlf false
60
61
git config --global core.safecrlf false
61
62
git clone https://github.com/json-api-dotnet/JsonApiDotNetCore.git -b gh-pages origin_site -q
66
67
Copy-Item -Recurse home/assets/* _site/styles/
67
68
CD _site
68
69
git add -A 2>&1
69
- git commit -m "CI Updates " -q
70
+ git commit -m "Automated commit from cibuild " -q
70
71
if (-Not $env:APPVEYOR_PULL_REQUEST_TITLE) {
71
72
git push origin gh-pages -q
72
73
echo "Documentation updated successfully."
You can’t perform that action at this time.
0 commit comments