chore(local_deploy): Deploy frontend
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
810e97605b
commit
2c3841e57e
1 changed files with 7 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ export IMAGE_TAG=`grep fromVersion vars.yaml | awk '{print $NF}'|xargs`
|
|||
|
||||
|
||||
apps=(
|
||||
frontend
|
||||
api
|
||||
assets
|
||||
db
|
||||
|
|
@ -40,6 +41,12 @@ restart(){
|
|||
exit 1
|
||||
} || {
|
||||
case "$1" in
|
||||
frontend)
|
||||
echo $IMAGE_TAG
|
||||
cd ../../frontend
|
||||
source build.sh $@
|
||||
restart frontend
|
||||
;;
|
||||
api)
|
||||
echo $IMAGE_TAG
|
||||
cd ../../api
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue