mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
Fix the Staged Rollout Desktop workflow (#4157)
This commit is contained in:
36
.github/workflows/staged-rollout-desktop.yml
vendored
36
.github/workflows/staged-rollout-desktop.yml
vendored
@@ -54,20 +54,6 @@ jobs:
|
|||||||
r2-electron-bucket-name,
|
r2-electron-bucket-name,
|
||||||
cf-prod-account"
|
cf-prod-account"
|
||||||
|
|
||||||
- name: Download channel update info files from S3
|
|
||||||
env:
|
|
||||||
AWS_ACCESS_KEY_ID: ${{ steps.retrieve-secrets.outputs.aws-electron-access-id }}
|
|
||||||
AWS_SECRET_ACCESS_KEY: ${{ steps.retrieve-secrets.outputs.aws-electron-access-key }}
|
|
||||||
AWS_DEFAULT_REGION: 'us-west-2'
|
|
||||||
AWS_S3_BUCKET_NAME: ${{ steps.retrieve-secrets.outputs.aws-electron-bucket-name }}
|
|
||||||
run: |
|
|
||||||
aws s3 cp $AWS_S3_BUCKET_NAME/desktop/latest.yml . \
|
|
||||||
--quiet
|
|
||||||
aws s3 cp $AWS_S3_BUCKET_NAME/desktop/latest-linux.yml . \
|
|
||||||
--quiet
|
|
||||||
aws s3 cp $AWS_S3_BUCKET_NAME/desktop/latest-mac.yml . \
|
|
||||||
--quiet
|
|
||||||
|
|
||||||
- name: Download channel update info files from R2
|
- name: Download channel update info files from R2
|
||||||
env:
|
env:
|
||||||
AWS_ACCESS_KEY_ID: ${{ steps.retrieve-secrets.outputs.r2-electron-access-id }}
|
AWS_ACCESS_KEY_ID: ${{ steps.retrieve-secrets.outputs.r2-electron-access-id }}
|
||||||
@@ -118,10 +104,14 @@ jobs:
|
|||||||
AWS_DEFAULT_REGION: 'us-west-2'
|
AWS_DEFAULT_REGION: 'us-west-2'
|
||||||
AWS_S3_BUCKET_NAME: ${{ steps.retrieve-secrets.outputs.aws-electron-bucket-name }}
|
AWS_S3_BUCKET_NAME: ${{ steps.retrieve-secrets.outputs.aws-electron-bucket-name }}
|
||||||
run: |
|
run: |
|
||||||
aws s3 cp ./$AWS_S3_BUCKET_NAME/desktop/ \
|
aws s3 cp latest.yml $AWS_S3_BUCKET_NAME/desktop/ \
|
||||||
--include "latest*.yml" \
|
--acl "public-read"
|
||||||
--acl "public-read" \
|
|
||||||
--quiet
|
aws s3 cp latest-linux.yml $AWS_S3_BUCKET_NAME/desktop/ \
|
||||||
|
--acl "public-read"
|
||||||
|
|
||||||
|
aws s3 cp latest-mac.yml $AWS_S3_BUCKET_NAME/desktop/ \
|
||||||
|
--acl "public-read"
|
||||||
|
|
||||||
- name: Publish channel update info files to R2
|
- name: Publish channel update info files to R2
|
||||||
env:
|
env:
|
||||||
@@ -131,7 +121,11 @@ jobs:
|
|||||||
AWS_S3_BUCKET_NAME: ${{ steps.retrieve-secrets.outputs.r2-electron-bucket-name }}
|
AWS_S3_BUCKET_NAME: ${{ steps.retrieve-secrets.outputs.r2-electron-bucket-name }}
|
||||||
CF_ACCOUNT: ${{ steps.retrieve-secrets.outputs.cf-prod-account }}
|
CF_ACCOUNT: ${{ steps.retrieve-secrets.outputs.cf-prod-account }}
|
||||||
run: |
|
run: |
|
||||||
aws s3 cp ./$AWS_S3_BUCKET_NAME/desktop/ \
|
aws s3 cp latest.yml $AWS_S3_BUCKET_NAME/desktop/ \
|
||||||
--include "latest*.yml" \
|
--endpoint-url https://${CF_ACCOUNT}.r2.cloudflarestorage.com
|
||||||
--quiet \
|
|
||||||
|
aws s3 cp latest-linux.yml $AWS_S3_BUCKET_NAME/desktop/ \
|
||||||
|
--endpoint-url https://${CF_ACCOUNT}.r2.cloudflarestorage.com
|
||||||
|
|
||||||
|
aws s3 cp latest-mac.yml $AWS_S3_BUCKET_NAME/desktop/ \
|
||||||
--endpoint-url https://${CF_ACCOUNT}.r2.cloudflarestorage.com
|
--endpoint-url https://${CF_ACCOUNT}.r2.cloudflarestorage.com
|
||||||
|
|||||||
Reference in New Issue
Block a user