Skip to content

"Failed to authenticate, have you run firebase login" with gcp_sa_keyΒ #5

@nvzoll

Description

@nvzoll

Github action sample

- uses: w9jds/setup-firebase@main
  with:
    gcp_sa_key: ${{ secrets.GCP_SA_KEY_BASE64_DEV }}
    project_id: "develop"
  env:
    GOOGLE_APPLICATION_CREDENTIALS: "/opt/gcp_key.json"

Error from workflow run

2024-06-07T15:42:32.7047141Z ##[endgroup]
2024-06-07T15:42:32.7049493Z ##[group]Firebase Authentication
2024-06-07T15:42:32.7053270Z Storing service account key into /opt/gcp_key.json
2024-06-07T15:42:32.7067765Z ##[endgroup]
2024-06-07T15:42:32.7076942Z ##[group]Setup Project
2024-06-07T15:42:32.7102774Z [command]/usr/local/bin/firebase use --add develop

Error: Failed to authenticate, have you run firebase login?  
Error: {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions