diff --git a/.buildkite/steps/publish.sh b/.buildkite/steps/publish.sh index 281f96321..67a73a190 100755 --- a/.buildkite/steps/publish.sh +++ b/.buildkite/steps/publish.sh @@ -4,8 +4,8 @@ set -euo pipefail s3_upload_templates() { local bucket_prefix="${1:-}" - aws s3 cp --content-type 'text/yaml' --acl public-read build/mappings.yml "s3://${BUILDKITE_AWS_STACK_TEMPLATE_BUCKET}/${bucket_prefix}mappings.yml" - aws s3 cp --content-type 'text/yaml' --acl public-read build/aws-stack.yml "s3://${BUILDKITE_AWS_STACK_TEMPLATE_BUCKET}/${bucket_prefix}aws-stack.yml" + aws s3 cp --content-type 'text/yaml' build/mappings.yml "s3://${BUILDKITE_AWS_STACK_TEMPLATE_BUCKET}/${bucket_prefix}mappings.yml" + aws s3 cp --content-type 'text/yaml' build/aws-stack.yml "s3://${BUILDKITE_AWS_STACK_TEMPLATE_BUCKET}/${bucket_prefix}aws-stack.yml" } echo "--- :git: Checking and fetching git tags"