mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
Merge pull request #452 from rschamp/hotfix/clean-s3-uploads
[Master] Remove deleted files from S3 on build
This commit is contained in:
commit
c41c40340a
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ var skipped = 0;
|
|||
var uploaded = 0;
|
||||
|
||||
var sync = s3Client.uploadDir({
|
||||
deleteRemoved: true,
|
||||
localDir: localDir,
|
||||
getS3Params: function (localfile, stat, callback) {
|
||||
if (IGNORE_FILES.indexOf(path.basename(localfile)) != -1) {
|
||||
|
|
Loading…
Reference in a new issue