Firebase distribution fails when building from yaml #1115
-
After switching our workflows from using the workflow editor to using the codemagic.yaml files, our builds fail at the Firebase publishing step with the following error:
The working workflow configuration was exported and only minor changes have since been made. The relevant credentials appear to be present
Has anyone run into this issue before? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
Hi, let's pass your service account json file as an env var as follows:
More info here |
Beta Was this translation helpful? Give feedback.
-
Did you create an env var and transfer the group that holds your env var to yaml ? As a note, your json file does not need to be base64 encoded. |
Beta Was this translation helpful? Give feedback.
-
Yes. The variable was added with variable group
|
Beta Was this translation helpful? Give feedback.
-
At this point, there must be sth wrong with the provided json value. I strongly suggest you to create a new service account json file and try with it. If not result, send me a build id please. |
Beta Was this translation helpful? Give feedback.
At this point, there must be sth wrong with the provided json value. I strongly suggest you to create a new service account json file and try with it. If not result, send me a build id please.