Add Rebuild Option [CI Skip]

This commit is contained in:
cutestnekoaqua 2022-12-14 18:09:58 +01:00
parent e26724b01e
commit 5b622ce273
2 changed files with 2 additions and 1 deletions

View File

@ -135,7 +135,7 @@ cp -r ../misskey/files . # if you don't use object storage
```sh
# git pull
yarn install
NODE_ENV=production yarn run build && yarn run migrate
NODE_ENV=production yarn run rebuild && yarn run migrate
pm2 start "NODE_ENV=production yarn start" --name Calckey
```

View File

@ -14,6 +14,7 @@
],
"private": true,
"scripts": {
"rebuild": "yarn clean && yarn build",
"build": "yarn workspaces foreach run build && yarn run gulp",
"start": "yarn workspace backend run start",
"start:test": "yarn workspace backend run start:test",