From 137c83aa666c27dbd464eeeb29650fb26465c4ef Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Wed, 19 Feb 2020 14:05:24 +0300 Subject: [PATCH] test deployment --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 80e51b3..72ac7a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 \ No newline at end of file