Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-beerkiss committed Jul 11, 2018
1 parent ad8bc95 commit f645346
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ steps:
- command: yarn install
plugins:
seek-oss/private-npm:
token: abc123
token: ${NPM_TOKEN}
```
You can also specify a custom npm registry if you are using your own mirror.
Expand All @@ -24,15 +24,15 @@ steps:
- command: yarn install
plugins:
seek-oss/private-npm:
token: abc123
token: ${NPM_TOKEN}
registry: //myprivatenpm.com/
```
## Configuration
### `token` (required)
The value of the NPM token.

> *NOTE* It's bad security to put your tokens into source control, so ideally this should be injected through the environment
> *NOTE* It's bad security practise to put your secrets into source control. A better idea is to use environment variables.

### `registry` (optional)
The path to a private npm repository. Please ensure you supply the trailing `/`!
Expand Down

0 comments on commit f645346

Please sign in to comment.