Hi there,
I’ve been experiencing an issue today with a Travis build which previously worked fine with a secure variable, however I’ve recently had to change the content of the variable, and it now no longer decrypts the variable content successfully.
The build in question is here:
https://travis-ci.org/github/epirus-io/epirus-cli/jobs/688882890
I’ve logged in to the Travis CLI (v1.9.1), and added the environment variable using the following command:
travis encrypt GITHUB_PERSONAL_ACCESS_TOKEN="<value>" --org --add
This runs successfully, and results in the following output:
However, travis does not seem to be decrypting the name of the variable, nor does it export it anywhere in the build console output when the build is triggered.
I should also mention that I’ve tried making the secure variable a list (by prepending -
), to no avail.