Skip to content

Commit 06e70dc

Browse files
authored
fix: use GitHub vars instead of env vars (#3649)
fix: use github vars instead of env vars
1 parent d591df0 commit 06e70dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -170,13 +170,13 @@ jobs:
170170
uses: aws-actions/configure-aws-credentials@v4
171171
if: github.ref_name == 'master' && steps.changesets.outputs.published != 'true'
172172
with:
173-
role-to-assume: ${{ env.AWS_ROLE_ARN }}
174-
aws-region: ${{ env.AWS_S3_REGION }}
173+
role-to-assume: ${{ vars.AWS_ROLE_ARN }}
174+
aws-region: ${{ vars.AWS_S3_REGION }}
175175

176176
- name: Upload assets to s3
177177
if: github.ref_name == 'master' && steps.changesets.outputs.published != 'true'
178178
run: |
179-
aws s3 cp ./packages/account/src/assets/images/ s3://${{ env.AWS_S3_BUCKET }}/providers/ --recursive
179+
aws s3 cp ./packages/account/src/assets/images/ s3://${{ vars.AWS_S3_BUCKET }}/providers/ --recursive
180180
181181
# # Commenting out as we require permissions to trigger across repos
182182
# - name: Notify migrations and disclosures of the new release (breaking changes)

0 commit comments

Comments
 (0)