Use artifacts plugin
This commit is contained in:
12
.travis.yml
12
.travis.yml
@@ -36,9 +36,10 @@ jobs:
|
||||
include:
|
||||
- stage: package
|
||||
script: skip
|
||||
if: branch IN (master, dev)
|
||||
before_deploy:
|
||||
- curl -sL https://raw.githubusercontent.com/travis-ci/artifacts/master/install | bash
|
||||
#before_deploy:
|
||||
# - curl -sL https://raw.githubusercontent.com/travis-ci/artifacts/master/install | bash
|
||||
# Configure the conditional deployment
|
||||
# https://docs.travis-ci.com/user/deployment/#examples-of-conditional-deployment
|
||||
deploy:
|
||||
- provider: script
|
||||
skip_cleanup: true
|
||||
@@ -48,7 +49,7 @@ jobs:
|
||||
- stage: release
|
||||
script: skip
|
||||
before_deploy:
|
||||
- curl -sL https://raw.githubusercontent.com/travis-ci/artifacts/master/install | bash
|
||||
#- curl -sL https://raw.githubusercontent.com/travis-ci/artifacts/master/install | bash
|
||||
- ./.travis/deploy_script.sh
|
||||
deploy:
|
||||
provider: releases
|
||||
@@ -61,3 +62,6 @@ jobs:
|
||||
tags: true
|
||||
repo: nabeelio/phpvms
|
||||
php: '7.2'
|
||||
|
||||
addons:
|
||||
artifacts: true
|
||||
|
||||
Reference in New Issue
Block a user