Skip to content

Commit

Permalink
package.json BUGFIX: do full s3 rm before s3 sync -- see [s3 sync…
Browse files Browse the repository at this point in the history
… \-\-exact\-timestamps flag ignored for uploads \#4460](aws/aws-cli#4460)
  • Loading branch information
da70 committed Sep 20, 2021
1 parent d7acc85 commit 702c726
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"deploy:stage": "yarn run build:stage; yarn run sync:stage; yarn cache:invalidate:stage; sleep 30; yarn test:browser:stage",
"deploy:prod": "yarn run build:prod; yarn run sync:prod; yarn cache:invalidate:prod; sleep 30; yarn test:browser:prod",
"lint": "vue-cli-service lint",
"sync:dev": "aws s3 sync dist/ s3://dlts-enm-dev/search --exact-timestamps --exclude '.gitkeep'",
"sync:stage": "aws s3 sync dist/ s3://dlts-enm-stage/search --exact-timestamps --exclude '.gitkeep'",
"sync:prod": "aws s3 sync dist/ s3://dlts-enm/search --exact-timestamps --exclude '.gitkeep'",
"sync:dev": "aws s3 rm s3://dlts-enm-dev/search --recursive && aws s3 sync dist/ s3://dlts-enm-dev/search",
"sync:stage": "aws s3 rm s3://dlts-enm-stage/search --recursive && aws s3 sync dist/ s3://dlts-enm-stage/search",
"sync:prod": "aws s3 rm s3://dlts-enm/search --recursive && aws s3 sync dist/ s3://dlts-enm/search",
"test": "yarn run lint && yarn run test:unit && yarn run test:browser:local",
"test:browser:local": "node_modules/.bin/wdio tests/browser/conf/wdio.local.conf.js",
"test:browser:local:chrome": "node_modules/.bin/wdio tests/browser/conf/wdio.local.chrome.conf.js",
Expand Down

0 comments on commit 702c726

Please sign in to comment.