FirebaseExtended / action-hosting-deploy

Automatically deploy shareable previews for your Firebase Hosting sites
https://firebase.google.com/docs/hosting/github-integration
Apache License 2.0
695 stars 202 forks source link

add debug option #325

Open leoortizz opened 9 months ago

leoortizz commented 9 months ago

Add a debug option that can be used in the deploy config to enable debug mode on firebase-tools in all deployments(preview/prod).

Currently we're having issues in a project and the only error we have is Error: Unexpected token p in JSON at position 4.

Screenshot 2023-12-05 at 23 42 12

This only happens in the GitHub action, not always but quite often, forcing us to manually re-run the failed action, then it magically works. The retry feature isn't being done for some reason and we don't have a clue where the error comes from, but it happens during the deploy process of firebase-tools per the logs.

Additionally, I added some missing types.

Closes #34.

TODOs

jhuleatt commented 3 months ago

A belated thank you, @leoortizz! Would you like to add documentation (you can use #371 as an example)?