Work around cloudflare r2 issue

This commit is contained in:
Michael Telatynski 2025-01-27 10:38:34 +00:00 committed by GitHub
parent 1d22e8155c
commit 0b622c67c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -197,6 +197,14 @@ jobs:
name: packages.element.io
path: packages.element.io
# Workaround for https://www.cloudflarestatus.com/incidents/t5nrjmpxc1cj
- uses: unfor19/install-aws-cli-action@e8b481e524a99f37fbd39fdc1dcb3341ab091367 # v1
if: needs.prepare.outputs.deploy == 'true'
with:
version: 2.22.35
verbose: false
arch: amd64
- name: Deploy artifacts
if: needs.prepare.outputs.deploy == 'true'
run: |
@ -206,8 +214,6 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.CF_R2_TOKEN }}
R2_URL: ${{ vars.CF_R2_S3_API }}
DEPLOYMENT_DIR: ${{ needs.prepare.outputs.packages-dir }}
# Workaround for https://www.cloudflarestatus.com/incidents/t5nrjmpxc1cj
AWS_REQUEST_CHECKSUM_CALCULATION: when_required
- name: Notify packages.element.io of new files
if: needs.prepare.outputs.deploy == 'true'