quietly deploy to stage
This commit is contained in:
parent
74cafa6034
commit
fc70c56b2b
|
@ -28,8 +28,10 @@ if [ "$2" == "asset" ]; then
|
||||||
bin/prod/compile-client
|
bin/prod/compile-client
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ $mode = "main" ]; then
|
||||||
lilalog "Notify users of pre deploy"
|
lilalog "Notify users of pre deploy"
|
||||||
$CLI deploy pre
|
$CLI deploy pre
|
||||||
|
fi
|
||||||
|
|
||||||
bin/dev ";stage;exit"
|
bin/dev ";stage;exit"
|
||||||
if [ $? != 0 ]; then
|
if [ $? != 0 ]; then
|
||||||
|
@ -78,8 +80,10 @@ fi
|
||||||
|
|
||||||
read -n 1 -p "Press [Enter] to complete deployment to $mode server $REMOTE:$REMOTE_DIR"
|
read -n 1 -p "Press [Enter] to complete deployment to $mode server $REMOTE:$REMOTE_DIR"
|
||||||
|
|
||||||
|
if [ $mode = "main" ]; then
|
||||||
lilalog "Notify users of post deploy"
|
lilalog "Notify users of post deploy"
|
||||||
$CLI deploy post
|
$CLI deploy post
|
||||||
|
fi
|
||||||
|
|
||||||
if [ $mode == "main" ]; then
|
if [ $mode == "main" ]; then
|
||||||
lilalog "Restart lichess"
|
lilalog "Restart lichess"
|
||||||
|
|
Loading…
Reference in a new issue