Skip to content

Set up GitHub release token for Travis CI #7485

@hugovk

Description

@hugovk

For #7390.
Re: #7348 (comment), python-pillow/pillow-wheels#156 (comment).

We need to set up a token for Travis CI to be able to upload wheels to this repo's release section.

  1. Create a GitHub personal access token scoped to this repo. ⚠️ A repo admin needs to do this due to permissions.
  2. Install Travis CLI:
sudo gem install travis --no-document
...travis --version
Shell completion not installed. Would you like to install it now? |y| y
1.11.1
  1. The next bit is where I got stuck, but try something like this (https://stackoverflow.com/a/76234874/724176):
❯ travis login --github-token GITHUB_PERSONAL_ACCESS_TOKEN

❯ travis setup releases -r python-pillow/Pillow 
  1. Save the new token as GITHUB_RELEASE_TOKEN at https://app.travis-ci.com/github/python-pillow/pillow/settings.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions