Vitalik
2 months ago
6 changed files with 18 additions and 10 deletions
@ -1,10 +1,10 @@ |
|||||||
# REACT_APP_MOD=production |
REACT_APP_MOD=production |
||||||
# REACT_APP_MOD=local |
# REACT_APP_MOD=local |
||||||
|
|
||||||
# Sentry logger setup |
# Sentry logger setup |
||||||
|
|
||||||
# SENTRY_ENVIROMENT=production |
SENTRY_ENVIROMENT=production |
||||||
SENTRY_ENVIROMENT=develop |
# SENTRY_ENVIROMENT=develop |
||||||
|
|
||||||
# The SENTRY_AUTH_TOKEN variable is picked up by the Sentry Build Plugin. |
# The SENTRY_AUTH_TOKEN variable is picked up by the Sentry Build Plugin. |
||||||
# It's used for authentication when uploading source maps. |
# It's used for authentication when uploading source maps. |
||||||
|
@ -1,13 +1,14 @@ |
|||||||
# npm run build |
# npm run build |
||||||
|
|
||||||
ssh -p 32452 programmer@195.201.197.217 " |
ssh developer@10.3.1.164 " |
||||||
cd /home/programmer/web-app && |
cd /var/www/web-app && |
||||||
rm -R build |
rm -R build |
||||||
" |
" |
||||||
|
|
||||||
scp -P 32452 -r ./build programmer@195.201.197.217:/home/programmer/web-app/build |
scp -r ./build developer@10.3.1.164:/var/www/web-app/build |
||||||
|
|
||||||
ssh -p 32452 programmer@195.201.197.217 "nginx -s reload" |
ssh developer@10.3.1.164 "sudo systemctl restart nginx" |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# scp -r build developer@10.3.1.164:/var/www/web-app/build |
Loading…
Reference in new issue