Skip to content

Commit d335be1

Browse files
committed
test: do not delete publicDir
1 parent 12faff3 commit d335be1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/deploy-with-s3.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ async function main() {
3535
await uploadToS3(publicDir, '/', s3Prefix)
3636
// Move the 404 HTML file from public into the root dir for Heroku
3737
await rename(path.join(publicDir, '404.html'), '404.html')
38-
await rm(publicDir, { recursive: true, force: true })
38+
// await rm(publicDir, { recursive: true, force: true })
3939
await rm(cacheDir, { recursive: true, force: true })
4040
await clearCloudfrontCache()
4141
}

0 commit comments

Comments
 (0)