mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Update README.md (#439)
This commit is contained in:
parent
e7808b894d
commit
fa67264818
@ -83,12 +83,16 @@ It's recommended that you use [Dependabot](https://dependabot.com/github-actions
|
|||||||
|
|
||||||
#### Install as a Node Module 📦
|
#### Install as a Node Module 📦
|
||||||
|
|
||||||
If you'd like to use the functionality provided by this action in your own action you can install it using [yarn](https://yarnpkg.com/) by running the following command.
|
If you'd like to use the functionality provided by this action in your own action you can install it using [yarn](https://yarnpkg.com/) or [npm](https://www.npmjs.com/get-npm) by running the following commands. It's available on both the [npm](https://www.npmjs.com/package/@jamesives/github-pages-deploy-action) and [GitHub registry](https://github.com/JamesIves/github-pages-deploy-action/packages/229985).
|
||||||
|
|
||||||
```
|
```
|
||||||
yarn add @jamesives/github-pages-deploy-action
|
yarn add @jamesives/github-pages-deploy-action
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
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
|
||||||
@ -114,7 +118,7 @@ run({
|
|||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
For more information regarding the [action interface please click here](https://github.com/JamesIves/github-pages-deploy-action/blob/dev/src/constants.ts#L7). You can find the npm registry listing for the module [here](https://www.npmjs.com/package/@jamesives/github-pages-deploy-action), and the GitHub registry listing [here](https://github.com/JamesIves/github-pages-deploy-action/packages/229985).
|
For more information regarding the [action interface please click here](https://github.com/JamesIves/github-pages-deploy-action/blob/dev/src/constants.ts#L7).
|
||||||
|
|
||||||
## Configuration 📁
|
## Configuration 📁
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user