Skip to content

Commit

Permalink
auto deploy to Github Releases
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Jul 18, 2018
1 parent 9dfff91 commit 34d366c
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ environment:
P: "c:/projects/libs"
ACCOUNT:
secure: F8Xu4syZJRRLmTnPDOUjr5bG7Lk6UburldIUuxZ/OJQ=
githubtk:
secure: qrVq5CxwKaOg2SohTmLQL6H6llxcxg1IJbF4r7Cx0Q7xxOsCPc49l2DzmlQIkui8

# branches to build
branches:
Expand Down Expand Up @@ -45,6 +47,19 @@ artifacts:
- path: sqlite.zip
name: sqlite.zip

deploy_script:
- cd c:\projects\sqlite
- curl -T sqlite.zip --user %ACCOUNT% https://webdav.yandex.ru/libs/sqlite.zip
#@deploy_script:
# - cd c:\projects\sqlite
# - curl -T sqlite.zip --user %ACCOUNT% https://webdav.yandex.ru/libs/sqlite.zip

deploy:
release: sqlite-v$(appveyor_build_version)
description: 'Automatic release by Appveyor.com'
provider: GitHub
auth_token:
secure: qrVq5CxwKaOg2SohTmLQL6H6llxcxg1IJbF4r7Cx0Q7xxOsCPc49l2DzmlQIkui8
artifact: /.*\.zip/ # upload all NuGet packages to release assets
draft: false
prerelease: false
on:
branch: master # release from master branch only
appveyor_repo_tag: true # deploy on tag push only

0 comments on commit 34d366c

Please sign in to comment.