Skip to content

Commit

Permalink
deploy setup on tag publish only
Browse files Browse the repository at this point in the history
  • Loading branch information
activescott committed Nov 24, 2018
1 parent 47611fc commit c136b92
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ deploy:
auth_token:
secure: JnGpNSHH2imq7iLdYS32onLbbSY0TP6eX+Z7m5bIeUUUHuT8zuf14DCJlDUoLqcK # encrypted token from https://github.com/settings/tokens
artifact: /(.*\.nupkg)|(.*\.zip)/ # upload NuGet & zip files to release assets
draft: true
draft: false
prerelease: false
on:
branch: master # only deploy on master commits
branch: master # only deploy on master
appveyor_repo_tag: true # only deploy when there is a tag pushed
appveyor_repo_tag_name: publish # only deploy when tag == "publish"

Expand All @@ -46,7 +46,7 @@ deploy:
secure: O3hY7f0bJTcsEiy30iW23uZsjhGf+fQlum8vcHXQHqwA2kNvZ0vz0c34pqcOWOwB
artifact: /.*\.nupkg/
on:
branch: never # only deploy on master commits
branch: master # only deploy on master
appveyor_repo_tag: true # only deploy when there is a tag pushed
appveyor_repo_tag_name: publish # only deploy when tag == "publish"

Expand Down

0 comments on commit c136b92

Please sign in to comment.