Skip to content
This repository was archived by the owner on Jul 8, 2022. It is now read-only.

Commit 9269595

Browse files
committed
appveyor.yml: Add inline deployment on tag push
Automate the deployment from appveyor. We want to publish all artifacts as a new draft prelease on tag push only. For reference see https://www.appveyor.com/docs/deployment/github/ and https://www.appveyor.com/docs/appveyor-yml/. I have created a new github machine user named cppTango-bot for that. And also a personal access token which was encrypted on the appveyor site.
1 parent 85fbfd3 commit 9269595

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

appveyor.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,3 +195,20 @@ artifacts:
195195
- path: ./*.exe
196196
- path: ./*.zip
197197
- path: ./*.msi
198+
199+
deploy:
200+
- provider: GitHub
201+
tag: $(APPVEYOR_REPO_TAG_NAME)
202+
description: "Release $(APPVEYOR_REPO_TAG_NAME)"
203+
auth_token:
204+
# User: cppTango-bot
205+
# Personal Access token with repo scope, encrypted via https://ci.appveyor.com/tools/encrypt
206+
secure: KnvPAbdhmiTQxTLOGq7nyNs6d1JYbKVKspPgigzQ3fDrI+nkaxqWCw6UmRkS2Gqe
207+
artifact: /.*/
208+
repository: tango-controls/cppTango
209+
draft: true
210+
prerelease: true
211+
force_update: true
212+
# deploy on tag push only
213+
on:
214+
APPVEYOR_REPO_TAG: true

0 commit comments

Comments
 (0)