knownasilya/ember-cli-deploy-gcloud-storage

projectId does not seem to work in the deploy config

mansona opened this issue ยท 4 comments

Howdy folks ๐Ÿ‘‹

I've just tried to specify the projectId using the ENV in deploy.js:

    ENV['gcloud-storage'] = {
      projectId: 'super-awesome-project',
      bucket: 'best-bucket'
    };

but this doesn't work. I needed to do it on command line like this: GCLOUD_PROJECT=super-awesome-project ember deploy production

Looks like it's due to the fact that you didn't specify credentials, see https://github.com/knownasilya/ember-cli-deploy-gcloud-storage/blob/master/index.js#L50

@knownasilya I wanted it to use the global credentials from the installed gcloud cli ๐Ÿค”

I think I'll submit a PR that allows them to be specified independently

Sounds good ๐Ÿ‘

New version v0.2.1 published.