So, when I use below in .travis.yml, it works.
*********************
deploy:
user: mybintrayuserid
provider: bintray
file: .bintray_descriptor.yml
key: myapikey
***********************
but if i change this below i get an error:
**************************
deploy:
user: mybintrayuserid
provider: bintray
file: .bintray_descriptor.yml
key:
secure: encryptedHashHash
****************************
The error I am getting is:
[Bintray Upload] Bintray Response: 401 Unauthorized. This resource requires authentication.
How I generated the key:
travis encrypt myapikey --add deploy.key
Note. I added a screenshot for more details.
Screenshot:
http://i.stack.imgur.com/rhkgJ.png
source
share