Fix S3 upload by using s3api put-object instead of s3 cp (#978)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: thomasnordquist <7721625+thomasnordquist@users.noreply.github.com>
This commit is contained in:
5
.github/workflows/tests.yml
vendored
5
.github/workflows/tests.yml
vendored
@@ -92,7 +92,10 @@ jobs:
|
||||
AWS_BUCKET: ${{ vars.AWS_BUCKET }}
|
||||
FILENAME: ${{ steps.filename.outputs.filename }}
|
||||
run: |
|
||||
aws s3 cp ./ui-test.gif s3://${AWS_BUCKET}/${FILENAME} \
|
||||
aws s3api put-object \
|
||||
--bucket ${AWS_BUCKET} \
|
||||
--key ${FILENAME} \
|
||||
--body ./ui-test.gif \
|
||||
--tagging "expiration=90days&Source=github-actions&Type=pr-demo-video" \
|
||||
--acl public-read
|
||||
- name: Generate file URL
|
||||
|
||||
Reference in New Issue
Block a user