forked from chsakell/planet-scale-azure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
29 lines (28 loc) · 856 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
version: '2.0.{build}'
image: Visual Studio 2017
branches:
only:
- master
clone_depth: 1
init:
# Good practise, because Windows
- git config --global core.autocrlf true
# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node.js or io.js
# - ps: Install-Product node $env:nodejs_version
- cd Online.Store
# install npm modules
- ps: Install-Product node $env:nodejs_version
- npm install
- node node_modules/webpack/bin/webpack.js --config webpack.config.vendor.js --env.prod
before_build:
# Display minimal restore text
- cmd: dotnet restore --verbosity m
build_script:
# output will be in ./Online.Store/bin/Release/netcoreapp2.0/publish/
- cmd: dotnet publish -c Release
artifacts:
- path: '\Online.Store\bin\Release\netcoreapp2.0\publish'
name: WebSite
type: WebDeployPackage