From 7c0f4d519709577bfae74043d0d9e0ad49b84bd1 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 12:33:54 +0300 Subject: [PATCH] test deploy --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b4ff744..1ac93b3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,11 +37,15 @@ jobs: before_deploy: - export VERSION=`cat VERSION` - export ARCHIVE_NAME=/tmp/retailcrm-$VERSION.zip + - git config --local user.name "retailCRM" + - git config --local user.email "support@retailcrm.ru" + - export TRAVIS_TAG=v$VERSION + - git tag $TRAVIS_TAG deploy: provider: releases api_key: $GITHUB_OAUTH_TOKEN skip_cleanup: true file: $ARCHIVE_NAME - php: 7.1 + if: branch = master AND type = push on: - branch: master \ No newline at end of file + php: 7.1 \ No newline at end of file