Hope you can help solve it
When I use travis setup releases
to generate the deploy api_key like this
deploy:
provider: releases
api_key:
secure: aSaEvrpwgeH9AObclfv....
It’s OK and deploy successfully. When I copy the secure value into Travis-CI environment variables like this:
and use the api_key like this:
deploy:
provider: releases
api_key:
secure: $TOKEN
file: "./GCanvas/core/test/linux/build/result.txt"
on:
repo: luckzhiwei/GCanvas
branch: master
tags: true
When I change the setting below, the deploy stage throw error "GET https://api.github.com/user: 401 - Bad credentials ". I’m confused about it. Is it that I can’t use environment variables to set api_key of deploy