From f8d331c656eb37441a397dc107a7d8625b7d8b4a Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 23 Mar 2023 15:17:07 +0000 Subject: [PATCH] Switch to live R2 bucket for github actions packaging (#588) --- .github/workflows/build_and_deploy.yaml | 6 ++---- .github/workflows/build_prepare.yaml | 3 +-- .github/workflows/reprepro.yaml | 3 +-- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_and_deploy.yaml b/.github/workflows/build_and_deploy.yaml index 9d5488a..ac5ed75 100644 --- a/.github/workflows/build_and_deploy.yaml +++ b/.github/workflows/build_and_deploy.yaml @@ -41,8 +41,7 @@ on: default: true concurrency: ${{ github.workflow }} env: - # XXX: UPDATE THIS BEFORE WHEN GOING LIVE - R2_BUCKET: "packages-element-io-test" + R2_BUCKET: "packages-element-io" jobs: prepare: uses: ./.github/workflows/build_prepare.yaml @@ -88,8 +87,7 @@ jobs: with: sign: true deploy-mode: true - # XXX: UPDATE THIS BEFORE WHEN GOING LIVE - base-url: https://packages-element-io-test.element.io/${{ inputs.mode == 'release' && 'desktop' || 'nightly' }} + base-url: https://packages.element.io/${{ inputs.mode == 'release' && 'desktop' || 'nightly' }} version: ${{ needs.prepare.outputs.macos-version }} linux: diff --git a/.github/workflows/build_prepare.yaml b/.github/workflows/build_prepare.yaml index 388e3f4..65fec26 100644 --- a/.github/workflows/build_prepare.yaml +++ b/.github/workflows/build_prepare.yaml @@ -84,8 +84,7 @@ jobs: env: AWS_ACCESS_KEY_ID: ${{ secrets.CF_R2_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.CF_R2_TOKEN }} - # XXX: UPDATE THIS BEFORE WHEN GOING LIVE - R2_BUCKET: "packages-element-io-test" + R2_BUCKET: "packages-element-io" R2_URL: ${{ secrets.CF_R2_S3_API }} - name: Check version diff --git a/.github/workflows/reprepro.yaml b/.github/workflows/reprepro.yaml index 3d3c6b6..12765b4 100644 --- a/.github/workflows/reprepro.yaml +++ b/.github/workflows/reprepro.yaml @@ -24,8 +24,7 @@ jobs: environment: packages.element.io runs-on: ubuntu-latest env: - # XXX: UPDATE THIS BEFORE WHEN GOING LIVE - R2_BUCKET: "packages-element-io-test" + R2_BUCKET: "packages-element-io" R2_DB_BUCKET: packages-element-io-db R2_URL: ${{ secrets.CF_R2_S3_API }} steps: