Skip to content

Commit

Permalink
Merge pull request #68 from paolosalvatori/deployment-with-appveyor
Browse files Browse the repository at this point in the history
CI to deploy to GH
  • Loading branch information
paolosalvatori committed Jan 6, 2017
2 parents b3690e3 + c9ebeb5 commit 221119d
Showing 1 changed file with 57 additions and 1 deletion.
58 changes: 57 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,61 @@
#---------------------------------#
# restore nuget packages #
#---------------------------------#
before_build:
- nuget restore

#---------------------------------#
# build configuration #
#---------------------------------#

# build platform, i.e. x86, x64, Any CPU. This setting is optional.
platform: Any CPU

# to add several platforms to build matrix:
#platform:
# - x86
# - Any CPU

# build Configuration, i.e. Debug, Release, etc.
configuration: Release

# to add several configurations to build matrix:
#configuration:
# - Debug
# - Release

build:
project: ServiceBusExplorer.csproj
parallel: true # enable MSBuild parallel builds
project: ServiceBusExplorer.csproj # path to Visual Studio project

# MSBuild verbosity level
verbosity: normal # quiet|minimal|normal|detailed

#---------------------------------#
# after build - create zip #
#---------------------------------#

after_build:
7z a ServiceBusExplorer.zip %APPVEYOR_BUILD_FOLDER%\bin\Release\*.*

#---------------------------------#
# artifacts configuration #
#---------------------------------#

artifacts:
- path: ServiceBusExplorer.zip # bin\$(configuration)\*.*
name: ServiceBusExplorer

#---------------------------------#
# deployment configuration #
#---------------------------------#

deploy:
- provider: GitHub
auth_token:
secure: SDw1gs4noXA0eUpBoBcbT2XNYwf0Bg7gHR/TpP2Y/gQS/QYST7toE0oRzoKV/2U6 # encrypted token from GitHub
artifact: /.*\.*/ # upload all NuGet packages to release assets
draft: false
prerelease: false
on:
branch: master # release from master branch only

0 comments on commit 221119d

Please sign in to comment.