Update README.md

This commit is contained in:
James Ives 2020-10-12 10:27:27 -04:00 committed by GitHub
parent fbc5cb96d6
commit d99929c924
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,12 +96,7 @@ npm install @jamesives/github-pages-deploy-action
It can then be imported into your project like so. It can then be imported into your project like so.
```javascript ```javascript
import run, { import run, {ActionInterface} from "github-pages-deploy-action";
init,
deploy,
generateBranch,
ActionInterface
} from "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. 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.