diff --git a/README.md b/README.md index 41c074ac6..ac95bb6d4 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ steps: fail_ci_if_error: true # optional (default = false) verbose: true # optional (default = false) env: - token: ${{ secrets.CODECOV_TOKEN }} + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} ``` >**Note**: This assumes that you've set your Codecov token inside *Settings > Secrets* as `CODECOV_TOKEN`. If not, you can [get an upload token](https://docs.codecov.io/docs/frequently-asked-questions#section-where-is-the-repository-upload-token-found-) for your specific repo on [codecov.io](https://www.codecov.io). Keep in mind that secrets are *not* available to forks of repositories. @@ -127,7 +127,7 @@ jobs: name: codecov-umbrella verbose: true env: - token: ${{ secrets.CODECOV_TOKEN }} + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} ``` ## Contributing