test deploy

This commit is contained in:
Akolzin Dmitry 2020-02-18 12:33:54 +03:00
parent 1cce01d50e
commit 7c0f4d5197

View File

@ -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
php: 7.1