Skip to content

Instantly share code, notes, and snippets.

@chinhnguyen
Created January 7, 2020 08:37
Show Gist options
  • Save chinhnguyen/64d24e70c715cede988e36aae92ac355 to your computer and use it in GitHub Desktop.
Save chinhnguyen/64d24e70c715cede988e36aae92ac355 to your computer and use it in GitHub Desktop.
{
"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