Skip to content

Commit

Permalink
add CIRCLE_CI_API_TOKEN note to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcello Bastéa-Forte committed Dec 19, 2017
1 parent 769e22b commit eb986e6
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,25 @@ access to your repos.
4. Navigate to Build Settings > Environment variables
5. Add a new variable called `GH_AUTH_TOKEN` with the new token

Once you have this token, you can easily import it to other repos on CircleCI and skip steps 1, 2, and 5.
For subsequent projects:

1. Open the CircleCI project settings
2. Navigate to Build Settings > Environment variables
3. Click "Import Variable(s)"
4. Select a project that you've previous added `GH_AUTH_TOKEN` to
5. Click the checkbox next to `GH_AUTH_TOKEN` and import

### CircleCI Artifact API Token

To access artifacts for private repos, a CircleCI API token is required.

1. Open the CircleCI project settings
2. Navigate to Permissions > API Permissions
3. Click "Create Token"
- Select "Build Artifacts" from scope dropdown
- Name the token "artifacts" (or whatever you prefer)
4. Navigate to Build Settings > Environment variables
5. Add a new variable called `CIRCLE_CI_API_TOKEN` with the new token

### Run Jest with Coverage reporting

Expand Down

0 comments on commit eb986e6

Please sign in to comment.