multiplegeorges / vue-cli-plugin-s3-deploy

A vue-cli plugin that uploads your built Vue.js project to an S3 bucket
MIT License
331 stars 51 forks source link

Deploy will not choose the awsProfile as config #58

Open muei opened 5 years ago

muei commented 5 years ago

If I have config the mutiple aws credentials that from different accounts, when I execute the command yarn deploy, it will still use the default credential, and upload the default account not the configured aws account

Agowan commented 5 years ago

Had the same problem. I did find a workaround though.

(Did set it as a environmental var in package.json)

"deploy": "AWS_PROFILE=profilename vue-cli-service s3-deploy"
BinaryShrub commented 5 years ago

This is still an issue. Thanks @Agowan for the work around!

jangeador commented 4 years ago

Thanks for this. It is still an issue, but the workaround works.