Update deploy scripts
This commit is contained in:
parent
9ebc8a8991
commit
8291174170
3 changed files with 24 additions and 2 deletions
|
@ -13,7 +13,6 @@ cd ~/apps/vylbot/vylbot_prod \
|
|||
&& (pm2 stop vylbot_prod || true) \
|
||||
&& (pm2 delete vylbot_prod || true) \
|
||||
&& cp .prod.env .env \
|
||||
&& cp ormconfig.prod.json ormconfig.json \
|
||||
&& yarn clean \
|
||||
&& yarn install --frozen-lockfile \
|
||||
&& yarn build \
|
||||
|
|
|
@ -13,7 +13,6 @@ cd ~/apps/vylbot/vylbot_stage \
|
|||
&& (pm2 stop vylbot_stage || true) \
|
||||
&& (pm2 delete vylbot_stage || true) \
|
||||
&& cp .stage.env .env \
|
||||
&& cp ormconfig.stage.json ormconfig.json \
|
||||
&& yarn clean \
|
||||
&& yarn install --frozen-lockfile \
|
||||
&& yarn build \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue