diff --git a/.github/workflows/nightly-release.yml b/.github/workflows/nightly-release.yml index 8b19657cd..b9a657011 100644 --- a/.github/workflows/nightly-release.yml +++ b/.github/workflows/nightly-release.yml @@ -53,7 +53,7 @@ jobs: secrets: r2-access-key: ${{ secrets.R2_ACCESS_KEY }} r2-secret-key: ${{ secrets.R2_SECRET_KEY }} - r2-zone-id: ${{ secrets.R2_ZONE_ID }} + r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} index-packages: needs: upload-packages diff --git a/.github/workflows/upload-packages.yml b/.github/workflows/upload-packages.yml index 5650877b7..e6dbb4959 100644 --- a/.github/workflows/upload-packages.yml +++ b/.github/workflows/upload-packages.yml @@ -26,7 +26,7 @@ on: required: true r2-secret-key: required: true - r2-zone-id: + r2-account-id: required: true @@ -55,7 +55,7 @@ jobs: export AWS_SECRET_ACCESS_KEY='${{ secrets.r2-secret-key }}' find . -type f -exec \ aws s3api put-object \ - --endpoint-url https://${{ secrets.r2_zone-id }}.r2.cloudflarestorage.com \ + --endpoint-url https://${{ secrets.r2-account-id }}.r2.cloudflarestorage.com \ --bucket axosyslog-apt-incoming \ --key ${{ inputs.pkg-type }}/${{ github.run_id }}/{} \ --body {} \;