Skip to content

Commit

Permalink
Configure appveyor.yml to automatically publish release
Browse files Browse the repository at this point in the history
  • Loading branch information
Still Hsu committed Oct 20, 2018
1 parent a55a5c0 commit f0c77b4
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,13 @@ before_build:
- cmd: dotnet restore
after_build:
- ps: dotnet build -c Release -o "..\output"
- ps: Get-ChildItem output -Recurse -Filter DocFX.Plugin.DescriptionGenerator.dll | % { Push-AppveyorArtifact $_.FullName }
- ps: Get-ChildItem output -Recurse -Filter DocFX.Plugin.DescriptionGenerator.dll | % { Push-AppveyorArtifact $_.FullName }
deploy:
provider: GitHub
auth_token:
secure: BQv7eBGWexobEIEMhDs48A1LuXmSbdymyLIv7KC6sEOEDvG12l8W9/zYDCqQt6/I # your encrypted token from GitHub
artifact: /output/DocFX\.Plugin\.DescriptionGenerator\.dll
draft: false
prerelease: false
on:
branch: master # release from master branch only

0 comments on commit f0c77b4

Please sign in to comment.