From 752b11a2b6e175839d1eb14774a4ae6f97a7527e Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Wed, 19 Feb 2020 16:53:05 +0300 Subject: [PATCH] test deploy condition --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 27346c5..715a51f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -76,5 +76,7 @@ jobs: api_key: $GITHUB_OAUTH_TOKEN skip_cleanup: true file: $ARCHIVE_NAME + on: + condition: "$LAST_TAG != $CURRENT_VERSION" if: branch = master AND type = push AND fork = true after_deploy: make delete_archive \ No newline at end of file