mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-22 05:06:07 +03:00
test deploy
This commit is contained in:
parent
1cce01d50e
commit
7c0f4d5197
@ -37,11 +37,15 @@ jobs:
|
|||||||
before_deploy:
|
before_deploy:
|
||||||
- export VERSION=`cat VERSION`
|
- export VERSION=`cat VERSION`
|
||||||
- export ARCHIVE_NAME=/tmp/retailcrm-$VERSION.zip
|
- 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:
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
api_key: $GITHUB_OAUTH_TOKEN
|
api_key: $GITHUB_OAUTH_TOKEN
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
file: $ARCHIVE_NAME
|
file: $ARCHIVE_NAME
|
||||||
php: 7.1
|
if: branch = master AND type = push
|
||||||
on:
|
on:
|
||||||
branch: master
|
php: 7.1
|
Loading…
Reference in New Issue
Block a user