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

firebase init hosting:github not working on 9.13 #3498

Closed
junaga opened this issue Jun 16, 2021 · 3 comments · Fixed by #3503
Closed

firebase init hosting:github not working on 9.13 #3498

junaga opened this issue Jun 16, 2021 · 3 comments · Fixed by #3503

Comments

@junaga
Copy link

junaga commented Jun 16, 2021

Environment info

$ uname -a
Linux hs-win-box 4.19.128-microsoft-standard #1 SMP Tue Jun 23 12:58:10 UTC 2020 x86_64 GNU/Linux
$ npx firebase --version
9.13.0

Test case

Install Firebase CLI v9.13
npm init -y && npm install firebase-tools@latest

Try to run this
npx firebase init hosting:github

Expected behavior

It should have taken me through the Firebase Hosting GitHub Action wizard.

Actual behavior

$ npx firebase --debug init hosting:github
[2021-06-16T19:09:09.015Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
[2021-06-16T19:09:09.015Z] > authorizing via signed-in user (hermann-stanew@invita.gmbh)

Error: hosting:github is not a supported feature; must be one of database, firestore, functions, hosting, storage, emulators, remoteconfig.

Where it's broken

It works on 1.12, i downgraded to use this feature. I don't wanna deal with Service Accounts as a newbie. TY guys for the product, I Love Firebase.

@google-oss-bot
Copy link
Contributor

This issue does not seem to follow the issue template. Make sure you provide all the required information.

@samtstern
Copy link
Contributor

Ah yes this was probably caused by this PR:
#3449

I'll get a fix ready!

@junaga
Copy link
Author

junaga commented Jun 17, 2021

Thank you!

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

Successfully merging a pull request may close this issue.

3 participants