|
|
|
@@ -1,6 +1,6 @@ |
|
|
|
#!/bin/bash |
|
|
|
|
|
|
|
TARGET_PATH="/var/www/crm/matsen-tool" |
|
|
|
TARGET_PATH="/var/www/crm" |
|
|
|
GIT_PATH="/var/www/matsen-git-repository/matsen-tool-fe/matsen-tool" |
|
|
|
|
|
|
|
create_directories() { |
|
|
|
@@ -31,6 +31,6 @@ copy_files |
|
|
|
npm install |
|
|
|
npx ng build --configuration production |
|
|
|
|
|
|
|
cp -r ${TARGET_PATH}/angular/dist/* ${TARGET_PATH}/browser |
|
|
|
cp -r ${TARGET_PATH}/angular/dist/* ${TARGET_PATH} |
|
|
|
|
|
|
|
echo "You have updated matsen client!$(tput sgr 0)" |