Created
January 7, 2020 08:37
-
-
Save chinhnguyen/64d24e70c715cede988e36aae92ac355 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"scripts": { | |
"upload": "aws2 s3 sync dist/ s3://yourpackage", | |
"upload:post": "aws2 cloudfront create-invalidation --distribution-id your-distribution-id --paths '/*'", | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment