I’m trying to get the Google Play Deploy step to work, I have uploaded the json key file to the Generic File Storage and I used the env variable that was created as input for the JsonKeyPath param, but when I run my build I get this error:
Failed to create auth config from json key file, error: No file found at path: [REDACTED]
I tried looking into the source of this step without finding anything that could help me identify the problem, so any help is appreciated. Thanks
we don’t specify the path manually, we used Generic File Storage to upload the json file, and then used the generated environment variable as input for the Google Play Deploy step.
Hey @fehersanyi-bitrise. I finally managed to get it working. The documentation on the Google Deploy step was correct and there was no need to add an extra step to get the json downloaded.
The issue was that we had an extra secret env var (with the value asd) called $BITRISEIO_SERVICE_ACCOUNT_JSON_KEY_URL which overrode the generic storage env var with the same name. Once I removed that env var the Google Deploy step downloaded the json as expected and now we have the bundle in Google Play. =)