test deployment

This commit is contained in:
Akolzin Dmitry 2020-02-19 14:05:24 +03:00
parent f0f3b65c02
commit 137c83aa66

View File

@ -67,10 +67,11 @@ jobs:
- git config --local user.email "support@retailcrm.ru"
- export TRAVIS_TAG=v$VERSION
- git tag $TRAVIS_TAG
- export DEPLOY=true
deploy:
provider: releases
api_key: $GITHUB_OAUTH_TOKEN
skip_cleanup: true
file: $ARCHIVE_NAME
if: (branch = master) AND (type = push) AND (fork = false)
if: branch = master AND type = push AND env(DEPLOY) = true
after_deploy: make delete_archive