From 6318e32f42866943fa0e47298685662be26dd457 Mon Sep 17 00:00:00 2001 From: Hawk Date: Sat, 2 May 2020 17:27:29 +0200 Subject: [PATCH] updated deployment script to yarn --- update.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/update.sh b/update.sh index 6618e17..f7cd18f 100755 --- a/update.sh +++ b/update.sh @@ -5,10 +5,10 @@ git pull cd backend rm -r ./frontend mkdir frontend -npm i +yarn install cd ../frontend -npm i -npm run build +yarn install +yarn run build mv ./build/* ../backend/frontend cd ../backend -npm start \ No newline at end of file +yarn start