mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Update README.md
This commit is contained in:
parent
fbc5cb96d6
commit
d99929c924
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user