Update README.md

This commit is contained in:
James Ives 2021-05-04 12:13:10 -04:00 committed by GitHub
parent c74fc1e25a
commit 04816dcced
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,13 +92,13 @@ npm install @jamesives/github-pages-deploy-action
It can then be imported into your project like so.
```javascript
import run from 'github-pages-deploy-action'
import run from '@jamesives/github-pages-deploy-action'
```
Calling the functions directly will require you to pass in an object containing the variables found in the configuration section, you'll also need to provide a `workspace` with a path to your project.
```javascript
import run from 'github-pages-deploy-action'
import run from '@jamesives/github-pages-deploy-action'
run({
token: process.env['ACCESS_TOKEN'],