-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
59 lines (48 loc) · 1.75 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
version: 0.0.{build}
configuration: Release
environment:
db_connection_string:
secure: G5XvTcAaSK4Ekd1tofzVwUQhr/n7DF1qtaAhbcjKm2NEU4EBgM/cqNdgz0fwMMdhIho0WRhBaw5VPMSVVRcIKghLgWCU9Aj/Wtpz2dgXqIqFzCy4jrOxMtSv2zVfJfbqqWs1DDbPK6Qc4qhlExUUYIM2TM9CDvs8hX++7+68j08BNGB9bGdivQssT6Plj7cL/waGMkxKCJ0FSF+qy72yu/bUcoEDA2YiJR39Ko/2zzynw81TpKVH71NxCR68Pd2I6zBc6nGvYCmy/T5nXchp+sOqJsxhwJ7DOYGgaKSeVgvFx5hOKu7fpJFgseNJb8w96OeHVDBZXQe5JvloPR1tmg==
assembly_info:
# Version our assemblies
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
install:
# Restore nuget packages
- cmd: nuget restore src\AgeBaseTemplate.sln
# Install latest version of NodeJS
- ps: Install-Product node Stable
# Install Node and Bower packages
- cmd: cd src\AgeBaseTemplate.UI
- cmd: npm install
- cmd: cd ..\..
before_build:
# Run default gulp task to compile sass and js files
- cmd: cd src\AgeBaseTemplate.UI
- cmd: node_modules\.bin\gulp release
- cmd: cd ..\..
build:
# Build solution
project: src\AgeBaseTemplate.sln
publish_wap: true
before_deploy:
# Restore database back to template
- cmd: tools\RestoreScript\RestoreScript "%db_connection_string%" "src\AgeBaseTemplate.Database\Database.sql"
deploy:
# Use this for continuous deployment
- provider: Environment
name: as-agebasetemplate
on:
branch: master
notifications:
# Notify channel of build
- provider: Slack
incoming_webhook:
secure: NAeYrmEeVDh5XkM+mloGFWSz3nLL02UTfaDmcytAZH0xytVxI8XHXilaNuGsG1SRAcR5J54LCp8K3twYWyyl6y2nxK5y0Q63zdux+tBBBls=
channel: '#appveyor'
on_build_success: true
on_build_failure: true
on_build_status_changed: false