#!/bin/sh

#
cd ../../fe.wfc
git pull
pnpm i
pnpm build

#
cd ../fe.wfc.user
git pull
pnpm i
pnpm build

#
cd ../be.wfc/docker
./copy.sh

sudo docker stop wfc-nginx
sudo docker rm wfc-nginx
sudo ./deploy.sh frontend
