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