I’m wrestling with Travis (great tool btw), making an attempt to deploy to Github releases.
I basically was following this tutorial https://dev.to/hawkinjs/leveraging-travis-ci-for-continuous-deployment-to-publish-compiled-binaries-to-github-2k06
From the Travis dashboard I see, that build and test was OK for all targets. But Travis has some problems with my .travis.yml. There is this “unknown key api_token”, which concerns me:
According to the tutorial and some other sources I saw, this is the proper way to configure the github token, or is it not?
deploy:
- provider: releases
skip_cleanup: true
on:
tags: true
condition: "$TRAVIS_RUST_VERSION = stable"
branch: master
file: target/release/camtest
api_token:
secure: "my_secret_token_obtained_from_travis_encrypt"
Regards