Skip to content

Commit

Permalink
Merge pull request #64 from xenit-eu/fix-release
Browse files Browse the repository at this point in the history
Use deploy block for the deployment stage
  • Loading branch information
thijslemmens authored Sep 25, 2019
2 parents 2a9e60e + 42ad064 commit 8224555
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,13 @@ cache:
jobs:
include:
- stage: deploy
if: tag IS present AND env(TRAVIS_SECURE_ENV_VARS)
script: ./gradlew publishPlugins -Pgradle.publish.key=$GRADLE_PUBLISH_KEY -Pgradle.publish.secret=$GRADLE_PUBLISH_SECRET -x check
script: skip
deploy:
provider: script
skip_cleanup: true
on:
tags: true
script: ./gradlew publishPlugins -Pgradle.publish.key=$GRADLE_PUBLISH_KEY -Pgradle.publish.secret=$GRADLE_PUBLISH_SECRET -x check

stages:
- test
Expand Down

0 comments on commit 8224555

Please sign in to comment.