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:
Copilot
2025-12-23 14:26:12 +01:00
committed by GitHub
parent 73c48f388b
commit 0d34f86893
2 changed files with 6 additions and 3 deletions

View File

@@ -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