Skip to content

Commit

Permalink
Enabled Automatic deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
JSkimming committed Sep 7, 2015
1 parent 13e3fcd commit 73a2402
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ build:
verbosity: minimal

before_build:
- nuget restore src\cloudflare.net.sln
- appveyor DownloadFile https://raw.githubusercontent.com/appveyor/ci/master/scripts/nuget-restore.cmd
- nuget-restore src\cloudflare.net.sln
- ps: gitversion /l console /output buildserver /updateAssemblyInfo

after_build:
Expand All @@ -78,6 +79,27 @@ after_test: |
%coveralls_exe% --opencover src\TestResults\Test.Coverage.xml
appveyor PushArtifact src\TestResults\Specifications.html -FileName "Specifications_%GitVersion_FullSemVer%.html"
#---------------------------------#
# deployment configuration #
#---------------------------------#

deploy:
# Deploy to NuGet when tags are applied to the master branch.
- provider: NuGet
api_key:
secure: YE/e/aOqNtjXWWk+IKzSl+HtDzrSE1tkaUPGQtzg6mA5chWEz53GJ9WNF/qdXgX1
on:
branch: master
appveyor_repo_tag: true

# Deploy to GitHub when tags are applied to the master branch.
- provider: GitHub
auth_token:
secure: HsYB0bln/Vj2trBco3Z3y9tG8sN8kguyXMogs9wSV65e0qRLl+BABxBxt3Q+CX9y
on:
branch: master
appveyor_repo_tag: true

#---------------------------------#
# global handlers #
#---------------------------------#
Expand All @@ -98,5 +120,5 @@ notifications:
auth_token:
secure: AkSNuuHmfzAFp2+Oq00NRQFOfrXl4ue08SHx0FC2WTeXSiZv8uVKI3ZBWns7HTcV
channel: cloudflare_net
on_build_success: false
on_build_status_changed: true

0 comments on commit 73a2402

Please sign in to comment.