Skip to content

Commit

Permalink
[GHA] Adjust R2 bucket test
Browse files Browse the repository at this point in the history
  • Loading branch information
BoykoAlex committed Jul 10, 2024
1 parent 6f779c5 commit c2bb548
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test-r2-bucket.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.R2_TEST_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.R2_TEST_SECRET_KEY }}
AWS_DEFAULT_REGION: us-east-1
AWS_ENDPOINT_URL_S3: https://13b7012a66b58025c7f02b7c7c597d13.r2.cloudflarestorage.com
run: |
file="upload-test.txt"
echo 'Upload test file' > $file
cat $file
aws s3 mv ./$file s3://cdn-test-spring-io/sts-test/$file
aws s3 ls s3://cdn-test-spring-io/sts-test/ --recursive | awk '{$1=$2=$3=""; print $0}'
aws s3 rm s3://cdn-test-spring-io/sts-test/$file

0 comments on commit c2bb548

Please sign in to comment.