Skip to content

Commit a9f85eb

Browse files
author
Bart Koelman
committed
Switched account for pushing documentation updates
1 parent 6d24136 commit a9f85eb

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

appveyor.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ environment:
1010
PGUSER: postgres
1111
PGPASSWORD: Password12!
1212
GIT_ACCESS_TOKEN:
13-
secure: g1T332Uarmdgtkftchpafa8tDP/7eM4O0BD6iu1wu+zR224IyH5R8pb4sTChr4Ia
13+
secure: vw2jhp7V38fTOqphzFgnXtLwHoHRW2zM2K5RJgDAnmkoaIKT6jXLDIfkFdyVz9nJ
1414

1515
branches:
1616
only:
@@ -52,10 +52,11 @@ for:
5252
throw "docfx build failed with exit code $lastexitcode."
5353
}
5454
55+
# https://www.appveyor.com/docs/how-to/git-push/
5556
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"
5960
git config --global core.autocrlf false
6061
git config --global core.safecrlf false
6162
git clone https://github.com/json-api-dotnet/JsonApiDotNetCore.git -b gh-pages origin_site -q
@@ -66,7 +67,7 @@ for:
6667
Copy-Item -Recurse home/assets/* _site/styles/
6768
CD _site
6869
git add -A 2>&1
69-
git commit -m "CI Updates" -q
70+
git commit -m "Automated commit from cibuild" -q
7071
if (-Not $env:APPVEYOR_PULL_REQUEST_TITLE) {
7172
git push origin gh-pages -q
7273
echo "Documentation updated successfully."

0 commit comments

Comments
 (0)