forked from DynamoDS/Dynamo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
35 lines (25 loc) · 1.05 KB
/
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
27
28
29
30
31
32
33
34
35
version: 1.0.{build}
platform: Any CPU
configuration: Release
before_build:
- nuget restore .\src\Dynamo.All.sln
environment:
dynamo_solution: src/Dynamo.All.sln
xmlDocs_solution: tools/XmlDocToMarkdown/XmlDocToMarkdown.sln
oauth_access_token:
secure: 14B2LfzdzmTNRCadtOW73/mofQniTe49NA71lH65TSq8uLPeTKlIu/o2FVUOisAc
build_script:
- msbuild %dynamo_solution%
- msbuild %xmlDocs_solution%
after_build:
- ps: tools/XmlDocToMarkdown/XmlDocToMarkdown/BuildScript/BuildScript.ps1
on_success:
- ps: >-
if(-not $env:APPVEYOR_PULL_REQUEST_NUMBER) {
git config --global user.name $env:APPVEYOR_REPO_COMMIT_AUTHOR
git config --global credential.helper store
Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:oauth_access_token):[email protected]`n"
git clone -q https://$($env:oauth_access_token):[email protected]/DynamoDS/DynamoAPI.git c:\projects\dynamo\DynamoAPI 2>&1 | % { $_.ToString() }
tools/XmlDocToMarkdown/XmlDocToMarkdown/BuildScript/PublishDocs.ps1
}
test: off