1
0
Fork 1
mirror of https://example.com synced 2024-11-23 09:56:39 +09:00

Add Rebuild Option [CI Skip]

This commit is contained in:
cutestnekoaqua 2022-12-14 18:09:58 +01:00
parent 8a7da9eaa0
commit 785ace95a4
No known key found for this signature in database
GPG key ID: 6BF0964A5069C1E0
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",