fix(all): Migration to Linus.

This commit is contained in:
Rodrigo Rodriguez 2022-01-04 17:48:53 -03:00
parent 905690e987
commit 8dcea9384d
2 changed files with 4 additions and 4 deletions

View file

@ -1,2 +1,2 @@
[config] [config]
command = deploy.sh command = bash ./deploy.sh

View file

@ -72,7 +72,7 @@ echo Handling react app deployment.
# 1. Install npm packages # 1. Install npm packages
if [ -e "$DEPLOYMENT_SOURCE/package.json" ]; then if [ -e "$DEPLOYMENT_SOURCE/package.json" ]; then
cd "$DEPLOYMENT_SOURCE" cd "$DEPLOYMENT_SOURCE"
echo "[General Bots Deployer]Running npm install" echo "[General Bots Deployer] Running npm install"
eval npm install eval npm install
exitWithMessageOnError "npm failed" exitWithMessageOnError "npm failed"
cd - > /dev/null cd - > /dev/null
@ -81,10 +81,10 @@ fi
# 1.1 Install default.gbui npm packages # 1.1 Install default.gbui npm packages
if [ -e "$DEPLOYMENT_SOURCE/packages/default.gbui/package.json" ]; then if [ -e "$DEPLOYMENT_SOURCE/packages/default.gbui/package.json" ]; then
cd "$DEPLOYMENT_SOURCE/packages/default.gbui" cd "$DEPLOYMENT_SOURCE/packages/default.gbui"
echo "[General Bots Deployer]Running npm install" echo "[General Bots Deployer] Running npm install"
eval npm install eval npm install
exitWithMessageOnError "npm failed" exitWithMessageOnError "npm failed"
echo "[General Bots Deployer]Building react app" echo "[General Bots Deployer] Building react app"
eval npm run build eval npm run build
exitWithMessageOnError "react build failed" exitWithMessageOnError "react build failed"
cd - > /dev/null cd - > /dev/null