-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #168 from codacy/structure-docs
docs: clean up README
- Loading branch information
Showing
4 changed files
with
264 additions
and
263 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Authentication | ||
|
||
## Authenticating using an Account API token | ||
|
||
If you'd like to automate uploading coverage for multiple repositories you can authenticate using an Account API Token: | ||
|
||
1. Create an Account API token on Codacy. You can find the token in *Your account* → *API tokens* | ||
1. Set the API token in your terminal, replacing *%API_Token%* with your own token | ||
1. Set your repository name in your terminal, replacing *%Repo_Name%* | ||
1. Set your username in your terminal, replacing *%Username%* | ||
|
||
``` | ||
export CODACY_API_TOKEN=%API_Token% | ||
export CODACY_PROJECT_NAME=%Repo_Name% | ||
export CODACY_USERNAME=%Username% | ||
``` | ||
|
||
⚠️ **You should keep your API token well protected, as it grants owner permissions to your projects.** |
Oops, something went wrong.