Skip to content
Permalink
Browse files

feat(publisher): allow usage of standard AWS environment variables fo…

…r S3 publishing
  • Loading branch information
MarshallOfSound authored and malept committed Feb 12, 2017
1 parent 250c197 commit d31ce248f536621f18056f153997b950acdb7854
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/publishers/s3.js
@@ -24,8 +24,8 @@ export default async (artifacts, packageJSON, forgeConfig, authToken, tag) => {

const client = s3.createClient({
s3Client: new AWS.S3({
accessKeyId: s3Config.accessKeyId,
secretAccessKey: s3Config.secretAccessKey,
accessKeyId: s3Config.accessKeyId || process.env.AWS_ACCESS_KEY_ID,
secretAccessKey: s3Config.secretAccessKey || process.env.AWS_SECRET_ACCESS_KEY,
}),
});
client.s3.addExpect100Continue = () => {};

0 comments on commit d31ce24

Please sign in to comment.
You can’t perform that action at this time.