forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
22 lines (18 loc) · 834 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
environment:
access_token:
secure: JWSy9tPo2eoTYpPQplvokf4IiVk6onNBbWwAs6nNWWyQ2JaO+MRAg/QzbJnTjpUm
before_build:
- cd ..
- git config --global credential.helper store
- ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:access_token):x-oauth-basic@github.com`n"
- git config --global user.email "vscopbld@microsoft.com"
- git config --global user.name "OpenPublishBuild"
- git clone "https://github.com/Azure/azure-docs-sdk-java.git" "docs"
build_script:
- ps: docs\Scripts\build.ps1
on_success:
- cd docs
- git add .
- git diff --quiet --exit-code --cached || git commit -m "CI Updates" && git push -u origin master
#on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))