File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -49,12 +49,13 @@ jobs:
49
49
50
50
- name : Update cache control policy
51
51
run : |
52
- aws s3api list-objects --bucket ${{ secrets.AWS_PROD_S3_BUCKET_NAME }} --prefix adobe-analytics-js --query "Contents[].Key" --output text | while read key; do
52
+ aws s3api list-objects --bucket ${{ secrets.AWS_PROD_S3_BUCKET_NAME }} --prefix adobe-analytics-js --query "Contents[].Key" --output text | tr '\t' '\n' | while read key; do
53
53
aws s3api copy-object \
54
54
--bucket ${{ secrets.AWS_PROD_S3_BUCKET_NAME }} \
55
- --copy-source ${{ secrets.AWS_PROD_S3_BUCKET_NAME }}/$key \
56
- --key $key \
55
+ --copy-source " ${{ secrets.AWS_PROD_S3_BUCKET_NAME }}/$key" \
56
+ --key " $key" \
57
57
--metadata-directive REPLACE \
58
58
--cache-control "${{ env.cache_control_policy }}"
59
59
done
60
60
61
+
You can’t perform that action at this time.
0 commit comments