Skip to content

Commit

Permalink
fix: use GitHub vars instead of env vars (#3649)
Browse files Browse the repository at this point in the history
fix: use github vars instead of env vars
  • Loading branch information
mchristopher authored Jan 30, 2025
1 parent d591df0 commit 06e70dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,13 +170,13 @@ jobs:
uses: aws-actions/configure-aws-credentials@v4
if: github.ref_name == 'master' && steps.changesets.outputs.published != 'true'
with:
role-to-assume: ${{ env.AWS_ROLE_ARN }}
aws-region: ${{ env.AWS_S3_REGION }}
role-to-assume: ${{ vars.AWS_ROLE_ARN }}
aws-region: ${{ vars.AWS_S3_REGION }}

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

0 comments on commit 06e70dc

Please sign in to comment.