From f0c77b49989b84100f2025847dc64b8197343855 Mon Sep 17 00:00:00 2001 From: Still Hsu <341464@gmail.com> Date: Sat, 20 Oct 2018 17:18:40 +0800 Subject: [PATCH] Configure appveyor.yml to automatically publish release --- appveyor.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 316d4b3..30f5889 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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 } \ No newline at end of file +- 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 \ No newline at end of file