Skip to content

404 when firebase init and setup github workflow #8536

Closed
@alexandrefett

Description

@alexandrefett

[REQUIRED] Environment info

Firebase-tools 14.3.1

Firebase-tools 14.3.1

Platform:
macOS

[REQUIRED] Test case

firebase init --debug
select hosting
folder: build/web
Rewrite HTML file: yes
Set the GitHub workflow? Yes
enter repo info (name/repository)
GET https://api.github.com/repos/undefined {"message":"Not Found","documentation_url":"https://docs.github.com/rest","status":"404"}

The workaround: downgraded firebase-tools to 14.2.1, everything worked as expected

[REQUIRED] Steps to reproduce

firebase init --debug
select hosting
folder: build/web
rewrite html file: yes
set github workflow? Yes
enter repo info (name/repository)
GET https://api.github.com/repos/undefined {"message":"Not Found","documentation_url":"https://docs.github.com/rest","status":"404"}

[REQUIRED] Expected behavior

retrieve the service account
set github secrets
write .firebasec

[REQUIRED] Actual behavior

Result from firebase init --debug
<! GET https://api.github.com/repos/undefined {"message":"Not Found","documentation_url":"https://docs.github.com/rest","status":"404"}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions