Skip to content

Commit 2557c93

Browse files
authored
Fix promotion role for pypi promotion (#7342)
Need to use ``gha_workflow_stage_wheels`` role. This role has access to pytorch-backup bucket
1 parent 7f2d4e9 commit 2557c93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ jobs:
3030
trigger:
3131
runs-on: ubuntu-latest
3232
timeout-minutes: 60
33-
environment: promote-env
33+
environment: pytorchbot-env
3434
container:
3535
image: pytorch/almalinux-builder:cpu
3636
steps:
3737
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3838
- name: Configure aws credentials (pytorch account)
3939
uses: aws-actions/configure-aws-credentials@50ac8dd1e1b10d09dac7b8727528b91bed831ac0 # v3.0.2
4040
with:
41-
role-to-assume: arn:aws:iam::749337293305:role/gha_workflow_promote_wheels
41+
role-to-assume: arn:aws:iam::749337293305:role/gha_workflow_stage_wheels
4242
aws-region: us-east-1
4343
- name: Copy staged binaries
4444
shell: bash

0 commit comments

Comments
 (0)