Skip to content

Commit

Permalink
Adding more flags to aws sync
Browse files Browse the repository at this point in the history
  • Loading branch information
pazdera committed Dec 20, 2017
1 parent 350cd88 commit f08a7ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/deploy-methods/s3.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function _doReleaseBySync(build, target, data) {
env.AWS_SECRET_ACCESS_KEY = config.local.awsSecret;
}

proc = childProcess.spawn('aws', ['s3', 'sync', '--acl', 'public-read', path, `s3://${target}`], {
proc = childProcess.spawn('aws', ['s3', 'sync', '--acl', 'public-read', '--exact-timestamps', '--delete', path, `s3://${target}`], {
env: env,
stdio: ['pipe', 'pipe', 'pipe'],
shell: true
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kart",
"version": "0.4.7",
"version": "0.4.8",
"description": "Kano Archive and Release Tool. Managing releases mainly of static websites.",
"main": "lib/index.js",
"bin": {
Expand Down

0 comments on commit f08a7ee

Please sign in to comment.