chore: update readme
This commit is contained in:
parent
615c47cb95
commit
cb373e49fd
1 changed files with 7 additions and 3 deletions
10
README.md
10
README.md
|
@ -29,9 +29,13 @@ $ pnpm i
|
||||||
| `pnpm run deploy` | upload to my server |
|
| `pnpm run deploy` | upload to my server |
|
||||||
| `pnpm run prep:now` | back up and clear current `now page` constants |
|
| `pnpm run prep:now` | back up and clear current `now page` constants |
|
||||||
|
|
||||||
> For the deploy script, you need to add an environmental variable named HOST
|
## Deployment
|
||||||
|
|
||||||
|
For the script `npm run deploy`, you need to add an environmental variable named HOST containing the IP address of the host server. This will scp the build files into the server.
|
||||||
|
|
||||||
|
If you want to run build before deploying, do `npm run build:deploy`
|
||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
> Just keep building.
|
*Just keep building.*<br />
|
||||||
> ~Ayo
|
*~Ayo*
|
||||||
|
|
Loading…
Reference in a new issue