Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

projectId does not seem to work in the deploy config #9

Closed
mansona opened this issue Nov 9, 2017 · 4 comments
Closed

projectId does not seem to work in the deploy config #9

mansona opened this issue Nov 9, 2017 · 4 comments

Comments

@mansona
Copy link
Collaborator

mansona commented Nov 9, 2017

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

@knownasilya
Copy link
Owner

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

@mansona
Copy link
Collaborator Author

mansona commented Nov 9, 2017

@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

@knownasilya
Copy link
Owner

Sounds good 👍

mansona added a commit to stonecircle/ember-cli-deploy-gcloud-storage that referenced this issue Nov 9, 2017
@knownasilya
Copy link
Owner

New version v0.2.1 published.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants