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
c74fc1e25a
commit
04816dcced
@ -92,13 +92,13 @@ 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 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.
|
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
|
```javascript
|
||||||
import run from 'github-pages-deploy-action'
|
import run from '@jamesives/github-pages-deploy-action'
|
||||||
|
|
||||||
run({
|
run({
|
||||||
token: process.env['ACCESS_TOKEN'],
|
token: process.env['ACCESS_TOKEN'],
|
||||||
|
Loading…
Reference in New Issue
Block a user