File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "apps" : [
3
+ {
4
+ "name" : " ssr" ,
5
+ "script" : " ./dist/server.js" ,
6
+ "instances" : 2 ,
7
+ "exec_mode" : " cluster" ,
8
+ "env" : {
9
+ "NODE_PATH" : " src"
10
+ }
11
+ }
12
+ ]
13
+ }
Original file line number Diff line number Diff line change 168
168
"test" : " node scripts/test.js" ,
169
169
"upload:s3" : " aws s3 sync ./build s3://$S3_BUCKET --delete" ,
170
170
"upload:ssr" : " aws s3 sync ./build s3://$S3_BUCKET_SSR" ,
171
- "download" : " aws s3 cp s3://$S3_BUCKET ./build/ --recursive && aws s3 cp s3://$S3_BUCKET_SSR ./dist/ --recursive"
171
+ "download" : " aws s3 cp s3://$S3_BUCKET ./build/ --recursive && aws s3 cp s3://$S3_BUCKET_SSR ./dist/ --recursive" ,
172
+ "deploy" : " pm2 reload deploy.config.json"
172
173
},
173
174
"eslintConfig" : {
174
175
"extends" : [
You can’t perform that action at this time.
0 commit comments