summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cloudformation/travis.template20
1 files changed, 20 insertions, 0 deletions
diff --git a/cloudformation/travis.template b/cloudformation/travis.template
index e6b404d9a4..29f2402b20 100644
--- a/cloudformation/travis.template
+++ b/cloudformation/travis.template
@@ -199,6 +199,26 @@
}
]
}
+ },
+ {
+ "PolicyName": "publish-nightlies",
+ "PolicyDocument": {
+ "Statement": [
+ {
+ "Action": [
+ "s3:DeleteObject",
+ "s3:GetObject",
+ "s3:GetObjectAcl",
+ "s3:PutObject",
+ "s3:PutObjectAcl"
+ ],
+ "Effect": "Allow",
+ "Resource": [
+ "arn:aws:s3:::mapbox/mapbox-gl-native/ios/builds/*"
+ ]
+ }
+ ]
+ }
}
]
}