Updating readme

This commit is contained in:
Borales
2019-10-14 00:05:38 +02:00
parent f5b369fc01
commit 05b6c81cc1
2 changed files with 6 additions and 9 deletions
+5 -9
View File
@@ -35,13 +35,9 @@ jobs:
To authenticate with, and publish to, a registry other than `registry.npmjs.org`:
```hcl
action "Publish" {
uses = "Borales/actions-yarn@master"
args = "publish --access public"
env = {
NPM_REGISTRY_URL = "someOtherRegistry.someDomain.net"
}
secrets = ["NPM_AUTH_TOKEN"]
}
```yml
- uses: borales/actions-yarn@2.0.0
with:
auth-token: ${{ secrets.NPM_TOKEN }}
registry-url: someOtherRegistry.someDomain.net
```