We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08e46e9 commit 96c87a5Copy full SHA for 96c87a5
2 files changed
.gitlab-ci.yml
@@ -147,6 +147,7 @@ homebrew:
147
aws_access_key_id = ${AWS_ACCESS_KEY_ID}
148
aws_secret_access_key = ${AWS_SECRET_ACCESS_KEY}
149
EOF
150
+ - export AWS_SDK_LOAD_CONFIG=true
151
- export AWS_PROFILE=autocloud-iac
152
script:
153
- yarn build
release/scripts/homebrew.js
@@ -88,7 +88,7 @@ async function uploadToS3(file) {
88
},
89
})
90
console.log(credentials)
91
- const S3 = new AWS.S3({ credentials: credentials })
+ const S3 = new AWS.S3({ credentials: AWS.config.credentials })
92
S3.putObject({
93
Bucket: PJSON.oclif.update.s3.bucket,
94
Key: `cg-v${SHORT_VERSION}/${file}`,
0 commit comments