Merge pull request #86 in TEA/mina-sidor-fa-web from feature/acc-deployment to develop

Squashed commit of the following:

commit b80896487554d90ed95c1a93596e2f3330202983
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date:   Fri Sep 10 10:45:07 2021 +0200

    Added deployment for acc
This commit is contained in:
Erik Tiekstra
2021-09-10 11:04:45 +02:00
parent 1613116c0e
commit 5b00453d97
8 changed files with 200 additions and 7 deletions

View File

@@ -46,8 +46,8 @@ echo -e "${GREEN}VERSION set to ${version}${NOCOLOR}"
if [ $config = "prod" ]; then
echo -e "${CYAN}Running npm run build -- --prod${NOCOLOR}"
npm run build -- --prod
echo -e "${CYAN}Running npm run build -- --production${NOCOLOR}"
npm run build -- --production
echo -e "${GREEN}Application built ${VERSION}${NOCOLOR}"
exit
else

View File

@@ -45,8 +45,8 @@ echo -e "${GREEN}VERSION set to ${version}${NOCOLOR}"
if [ $config = "prod" ]; then
echo -e "${CYAN}Running npm run start -- --prod${NOCOLOR}"
npm run start -- --prod
echo -e "${CYAN}Running npm run start -- --configuration production${NOCOLOR}"
npm run start -- --configuration production
echo -e "${GREEN}Application started${NOCOLOR}"
exit
elif [ $config = 'local' ]; then
@@ -54,6 +54,11 @@ elif [ $config = 'local' ]; then
npm run start
echo -e "${GREEN}Application started${NOCOLOR}"
exit
elif [ $config = 'acc' ]; then
echo -e "${CYAN}Running npm run start -- --configuration acc${NOCOLOR}"
npm run start -- --configuration acc
echo -e "${GREEN}Application started${NOCOLOR}"
exit
else
echo -e "${CYAN}Running npm run start:${CONFIG}${NOCOLOR}"
npm run start:$config