Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Commit

Permalink
build: get credentials from environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasWanke committed Jul 5, 2019
1 parent 7cf89d8 commit 192a638
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ script:
--grpc_out=./src/main/java
-I.
./hpi/**/*.proto
- ./gradlew assemble -Puser=$BINTRAY_USER -Pkey=$BINTRAY_KEY
- ./gradlew assemble

# jobs:
# include:
Expand All @@ -33,6 +33,6 @@ script:

deploy:
- provider: script
script: ./gradlew bintrayUpload -Puser=$BINTRAY_USER -Pkey=$BINTRAY_KEY
script: ./gradlew bintrayUpload
on:
tags: true
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ publishing {
}
}
bintray {
user = property("user")
key = property("key")
user = System.getenv('BINTRAY_USER')
key = System.getenv('BINTRAY_KEY')

publications = ["all"]
publish = true
Expand Down

0 comments on commit 192a638

Please sign in to comment.