Skip to content

Commit a647e8d

Browse files
committed
fix: 🐛 Fixes s3 script
1 parent 263d32d commit a647e8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@
167167
"build:server": "node scripts/build.server.js",
168168
"start:server:local": "node ./dist/server.js",
169169
"test": "node scripts/test.js",
170-
"upload": "aws s3 cp ./build s3://$S3_BUCKET",
171-
"upload:ssr": "aws s3 cp ./dist s3://$S3_BUCKET_SSR",
170+
"upload": "aws s3 cp --recursive ./build s3://$S3_BUCKET",
171+
"upload:ssr": "aws s3 cp --recursive ./dist s3://$S3_BUCKET_SSR",
172172
"download": "aws s3 cp s3://$S3_BUCKET ./build/ --recursive && aws s3 cp s3://$S3_BUCKET_SSR ./dist/ --recursive",
173173
"deploy": "pm2 reload deploy.config.json"
174174
},

0 commit comments

Comments
 (0)