Skip to content

Commit d50ac4f

Browse files
authored
Update _binary_upload_r2.yml
1 parent 5daf6af commit d50ac4f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/_binary_upload_r2.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,10 @@ jobs:
137137
AWS_CMD="aws s3 cp"
138138
fi
139139
140-
# UPLOAD_ENDPOINT=""
141-
# if [[ -n "$R2_ACCOUNT_ID" ]]; then
142-
UPLOAD_ENDPOINT="--endpoint-url https://${R2_ACCOUNT_ID}.r2.cloudflarestorage.com"
143-
# fi
140+
UPLOAD_ENDPOINT=""
141+
if [[ -n "$R2_ACCOUNT_ID" ]]; then
142+
UPLOAD_ENDPOINT="--endpoint-url https://${R2_ACCOUNT_ID}.r2.cloudflarestorage.com"
143+
fi
144144
145145
# Set path to specific wheel-upload-path, defaulting to pytorch bucket
146146
BUCKET_NAME="pytorch-downloads"

0 commit comments

Comments
 (0)