guness / bitrise-step-firebase-app-distribution

Upload your apps to Firebase and sends email to your testers.
MIT License
35 stars 28 forks source link

No authentication input defined when building from GitHub Pull Request webhook #15

Closed LoopsGod closed 4 years ago

LoopsGod commented 4 years ago

I've got my keys set up with Environment Variables in Bitrise, it works perfectly when building from a branch without a webhook build trigger.

When a build gets triggered from, let's say, branch development; CI/CD emits the following:

No authentication input was defined, please fill one of Firebase Token or Service Credentials Field.

firebase-app-distribution@0.5.0 (exit code: 1) 

When starting the build manually from the Bitrise dashboard on the development branch, it works fine.

frakc commented 4 years ago

is your secret exposed to pull request? If you did not enabled expose, than bitrise will return null parameter

LoopsGod commented 4 years ago

@frakc I am so stupid, I looked right over that. Didn't think it would return null if it came from a PR webhook.

Thanks! Issue closed.