Travis ci use github Token

hi,
When I use curl -H ‘Authorization: token githubtokenxxx’ https: api. github.com/xxxx in Travis ci, my token will fail. When I change token, what should I do?