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