Skip to content

Instantly share code, notes, and snippets.

@vinhlh
Last active February 28, 2017 04:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vinhlh/37442d6ed1783c9a8d13ffaffba5cef3 to your computer and use it in GitHub Desktop.
Save vinhlh/37442d6ed1783c9a8d13ffaffba5cef3 to your computer and use it in GitHub Desktop.
Continuous Deployment TravisCI
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:DeleteObject",
"s3:GetObject",
"s3:GetObjectAcl",
"s3:PutObject",
"s3:PutObjectAcl"
],
"Resource": [
"arn:aws:s3:::vinhlh.static/*"
]
},
{
"Effect": "Allow",
"Action": [
"cloudfront:CreateInvalidation"
],
"Resource": [
"*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment