diff --git a/_build/aws/publish-asset.sh b/_build/aws/publish-asset.sh index d3c9de6..ca18a39 100755 --- a/_build/aws/publish-asset.sh +++ b/_build/aws/publish-asset.sh @@ -11,6 +11,7 @@ s3cmd sync \ --acl-public \ --no-preserve \ --add-header 'cache-control:max-age=86400' \ + --exclude .DS_Store \ --verbose \ . \ "s3://assets.dpb587.me/asset/$2/" diff --git a/_build/aws/publish.sh b/_build/aws/publish.sh index 4662662..548bee9 100755 --- a/_build/aws/publish.sh +++ b/_build/aws/publish.sh @@ -13,6 +13,7 @@ s3cmd sync \ --acl-public \ --no-delete-removed \ --no-preserve \ + --exclude .DS_Store \ --add-header 'cache-control:max-age=604800' \ --verbose \ . \ @@ -27,6 +28,7 @@ s3cmd sync \ --no-preserve \ --rexclude 'asset/.+' \ --rexclude 'static/.+' \ + --exclude .DS_Store \ --add-header 'cache-control:max-age=3600' \ --verbose \ . \