|
|
|
|
@ -14,6 +14,41 @@ build: clean |
|
|
|
|
REACT_APP_ENV=staging \
|
|
|
|
|
REACT_APP_CLIENT=instat \
|
|
|
|
|
npm run build
|
|
|
|
|
|
|
|
|
|
build-a: clean |
|
|
|
|
REACT_APP_TYPE=ott \
|
|
|
|
|
REACT_APP_ENV=staging \
|
|
|
|
|
REACT_APP_CLIENT=instat \
|
|
|
|
|
REACT_APP_STAGE=a-staging \
|
|
|
|
|
npm run build
|
|
|
|
|
|
|
|
|
|
build-b: clean |
|
|
|
|
REACT_APP_TYPE=ott \
|
|
|
|
|
REACT_APP_ENV=staging \
|
|
|
|
|
REACT_APP_CLIENT=instat \
|
|
|
|
|
REACT_APP_STAGE=b-staging \
|
|
|
|
|
npm run build
|
|
|
|
|
|
|
|
|
|
build-c: clean |
|
|
|
|
REACT_APP_TYPE=ott \
|
|
|
|
|
REACT_APP_ENV=staging \
|
|
|
|
|
REACT_APP_CLIENT=instat \
|
|
|
|
|
REACT_APP_STAGE=c-staging \
|
|
|
|
|
npm run build
|
|
|
|
|
|
|
|
|
|
build-d: clean |
|
|
|
|
REACT_APP_TYPE=ott \
|
|
|
|
|
REACT_APP_ENV=staging \
|
|
|
|
|
REACT_APP_CLIENT=instat \
|
|
|
|
|
REACT_APP_STAGE=d-staging \
|
|
|
|
|
npm run build
|
|
|
|
|
|
|
|
|
|
build-e: clean |
|
|
|
|
REACT_APP_TYPE=ott \
|
|
|
|
|
REACT_APP_ENV=staging \
|
|
|
|
|
REACT_APP_CLIENT=instat \
|
|
|
|
|
REACT_APP_STAGE=e-staging \
|
|
|
|
|
npm run build
|
|
|
|
|
|
|
|
|
|
auth-build: |
|
|
|
|
rm -rf build_auth
|
|
|
|
|
@ -81,19 +116,19 @@ deploy-all: prod preprod facr-prod |
|
|
|
|
stage: build |
|
|
|
|
rsync -zavP --delete-before build/ -e 'ssh -p 666' ott-staging@staging.instat.tv:/usr/local/www/ott-staging/wwwroot/
|
|
|
|
|
|
|
|
|
|
a-stage: build |
|
|
|
|
a-stage: build-a |
|
|
|
|
rsync -zavP --delete-before build/ -e 'ssh -p 666' ott-staging@staging.instat.tv:/usr/local/www/ott-staging/a-wwwroot/
|
|
|
|
|
|
|
|
|
|
b-stage: build |
|
|
|
|
b-stage: build-b |
|
|
|
|
rsync -zavP --delete-before build/ -e 'ssh -p 666' ott-staging@staging.instat.tv:/usr/local/www/ott-staging/b-wwwroot/
|
|
|
|
|
|
|
|
|
|
c-stage: build |
|
|
|
|
c-stage: build-c |
|
|
|
|
rsync -zavP --delete-before build/ -e 'ssh -p 666' ott-staging@staging.instat.tv:/usr/local/www/ott-staging/c-wwwroot/
|
|
|
|
|
|
|
|
|
|
d-stage: build |
|
|
|
|
d-stage: build-d |
|
|
|
|
rsync -zavP --delete-before build/ -e 'ssh -p 666' ott-staging@staging.instat.tv:/usr/local/www/ott-staging/d-wwwroot/
|
|
|
|
|
|
|
|
|
|
e-stage: build |
|
|
|
|
e-stage: build-e |
|
|
|
|
rsync -zavP --delete-before build/ -e 'ssh -p 666' ott-staging@staging.instat.tv:/usr/local/www/ott-staging/e-wwwroot/
|
|
|
|
|
|
|
|
|
|
test: |
|
|
|
|
|