Skip to content
This repository was archived by the owner on Feb 19, 2020. It is now read-only.

Commit 5bbee87

Browse files
committed
Merge pull request #17 from codacy/machadoit-patch-2
Update README
2 parents 2c70438 + 1f34719 commit 5bbee87

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,18 @@ Add the autoloader to your php script:
4343
require_once 'vendor/autoload.php';
4444
```
4545

46+
## Updating Codacy
47+
48+
To update Codacy, you will need your project API token. You can find the token in Project -> Settings -> Integrations -> Project API.
49+
50+
Then set it in your terminal, replacing %Project_Token% with your own token:
51+
52+
```
53+
export CODACY_PROJECT_TOKEN=%Project_Token%
54+
```
55+
56+
> Note: You should keep your API token well **protected**, as it grants owner permissions to your projects.
57+
4658
# Usage
4759

4860
Run ```vendor/bin/codacycoverage``` to see a list of commands.

0 commit comments

Comments
 (0)