mirror of
https://github.com/scratchfoundation/gh-pages.git
synced 2025-02-17 16:10:17 -05:00
Update readme style
This commit is contained in:
parent
6412a7dac3
commit
28784b8db7
1 changed files with 15 additions and 15 deletions
30
readme.md
30
readme.md
|
@ -291,25 +291,25 @@ Note that this plugin requires Git 1.7.6 or higher (because it uses the `--exit-
|
|||
|
||||
`gh-pages` can be used in Command line.
|
||||
|
||||
1. Scripts
|
||||
### scripts task
|
||||
|
||||
```shell
|
||||
"scripts": {
|
||||
"deploy": "npm run gh-pages",
|
||||
"gh-pages": "gh-pages -d dist -b gh-pages"
|
||||
}
|
||||
```
|
||||
```shell
|
||||
"scripts": {
|
||||
"deploy": "npm run gh-pages",
|
||||
"gh-pages": "gh-pages -d dist -b gh-pages"
|
||||
}
|
||||
```
|
||||
|
||||
```shell
|
||||
npm run deploy
|
||||
```
|
||||
```shell
|
||||
npm run deploy
|
||||
```
|
||||
|
||||
2. Global
|
||||
### Global
|
||||
|
||||
```shell
|
||||
npm install gh-pages -g
|
||||
gh-pages -d dist -b gh-pages
|
||||
```
|
||||
```shell
|
||||
npm install gh-pages -g
|
||||
gh-pages -d dist -b gh-pages
|
||||
```
|
||||
|
||||
Cli support options below:
|
||||
|
||||
|
|
Loading…
Reference in a new issue