Skip to content

Commit

Permalink
removed credentials attribute (hyperledger-web3j#1308)
Browse files Browse the repository at this point in the history
update travis to pass username to job
  • Loading branch information
AlexandrouR authored and rach-id committed Apr 12, 2021
1 parent 5db0290 commit 356c9ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
script: "./scripts/github-release.sh"
- stage: javadoc release
if: branch =~ /release/
script: "./gradlew core:gitPublishPush"
script: "./gradlew -Dorg.ajoberstar.grgit.auth.username=$GITHUB_PERSONAL_ACCESS_TOKEN core:gitPublishPush"
after_success:
- bash <(curl -s https://codecov.io/bash)
before_install:
Expand Down
5 changes: 1 addition & 4 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,7 @@ gitPublish {

if (ghToken) {
repoUri = "https://github.com/${docsPath}.git"
credentials {
username = ghToken
password = ''
}

} else {
repoUri = "[email protected]:${docsPath}.git"
}
Expand Down

0 comments on commit 356c9ee

Please sign in to comment.