Skip to content

Commit 5834593

Browse files
committed
auto github and nuget deployments from master
1 parent f7d70d9 commit 5834593

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

appveyor.yml

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,37 @@ environment:
1919
LESSIO_TEST_FILES: '%APPVEYOR_BUILD_FOLDER%\src\LessIO.Tests\TestFiles\'
2020

2121
test:
22-
assemblies:
23-
- .\src\.deploy\LessIO.Tests.dll
22+
assemblies:
23+
- .\src\.deploy\LessIO.Tests.dll
2424

2525
artifacts:
2626
- path: 'src\.deploy\nuget-package\*.nupkg'
2727
- path: 'src\.deploy\*.zip'
2828
- path: 'src\.deploy\LessIO.dll'
2929

30+
deploy:
31+
# See https://www.appveyor.com/docs/deployment/github/
32+
- provider: GitHub
33+
release: v$(APPVEYOR_BUILD_VERSION)
34+
description: 'Appveyor deployed v$(APPVEYOR_BUILD_VERSION)'
35+
auth_token:
36+
secure: JnGpNSHH2imq7iLdYS32onLbbSY0TP6eX+Z7m5bIeUUUHuT8zuf14DCJlDUoLqcK # encrypted token from https://github.com/settings/tokens
37+
artifact: /(.*\.nupkg)|(.*\.zip)/ # upload NuGet & zip files to release assets
38+
draft: false
39+
prerelease: false
40+
# publish every commit to master as a Github release
41+
on:
42+
branch: master
43+
appveyor_repo_tag: false
44+
# See https://www.appveyor.com/docs/deployment/nuget/
45+
- provider: NuGet
46+
api_key:
47+
secure: O3hY7f0bJTcsEiy30iW23uZsjhGf+fQlum8vcHXQHqwA2kNvZ0vz0c34pqcOWOwB
48+
artifact: /.*\.nupkg/
49+
on:
50+
branch: master # release from master branch only
51+
appveyor_repo_tag: false # don't require tags to push packge - only master
52+
3053
##### KEEP RDP ACCESS #####
3154
# https://www.appveyor.com/docs/how-to/rdp-to-build-worker/
3255
#on_finish:

0 commit comments

Comments
 (0)