-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
47 lines (38 loc) · 1008 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
image: Visual Studio 2017
cache:
- packages -> **\packages.config, nuget.config
- tools -> build.cake, build.ps1
install:
- choco install gitversion.portable -pre -y
before_build:
- ps: gitversion $env:APPVEYOR_BUILD_FOLDER /l console /output buildserver /updateAssemblyInfo /nofetch /b $env:APPVEYOR_REPO_BRANCH
build_script:
- ps: ./build.ps1
test: off
artifacts:
- path: ./msbuild.log
- path: ./artifacts/*.nupkg
- path: ./artifacts/Api.zip
name: WebPackage
type: WebDeployPackage
deploy:
- provider: Environment
name: Azure Websites (Production)
artifact: WebPackage
app_name: example-application
app_password:
secure: secure_app_password_here
on:
branch: master
- provider: Environment
name: Azure Websites
artifact: WebPackage
app_name: example-application-qa
app_password:
secure: secure_app_password_here
on:
branch: development
- provider: Environment
name: MyGet
on:
branch: master