forked from dotnet/EntityFramework.ApiDocs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
26 lines (21 loc) · 915 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
clone_folder: c:\projects\EntityFramework.ApiDocs
environment:
access_token:
secure: JWSy9tPo2eoTYpPQplvokf4IiVk6onNBbWwAs6nNWWyQ2JaO+MRAg/QzbJnTjpUm
install:
- cinst docfx
- git checkout master
before_build:
- git config --global credential.helper store
- ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:access_token):[email protected]`n"
- git config --global user.email "[email protected]"
- git config --global user.name "OpenPublishBuild"
- ps: .\src\UpdateSrcRepo.ps1
build_script:
- ps: .\build.ps1
on_success:
- git add .
- git diff --quiet --exit-code --cached || git commit -m "Update Reference Content" && git push -u origin master
- appveyor AddMessage "Document Updated"
#on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))