Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Remove creation of the extra check and add support for GAC paths #353

Closed
wants to merge 15 commits into from

Conversation

minherz
Copy link

@minherz minherz commented Mar 25, 2024

Removes creation of the additional action when this action is executed.
Modifies the processing of GAC credentials to allow passing to the firebaseServiceAccount parameter both the path to the SA key as well as the JSON with credentials.
Continues execution in absence of the firebase.json file to support "default" settings.
Deletes the temporary file with credentials when it is created due to passing the credentials data in the firebaseServiceAccount parameter.
Refactors log output to provide some more information and minimize the number of log groups.
Updates README with additional paragraph that references a user to keyless authentication action.
Refactors code to improve readability.

@jhuleatt jhuleatt self-requested a review March 25, 2024 16:55
@minherz
Copy link
Author

minherz commented Mar 25, 2024

This implementation partially overlaps with #299. This implementation is more user friendly IMHO. Letting to use the input parameter to provide either the path to GAC or GAC info allows to support already configured workflows and also to use this action with google-github-action/auth

@minherz
Copy link
Author

minherz commented Mar 25, 2024

@jhuleatt I'd recommend to release it as v1 to distinguish from the current functionality in v0

src/index.ts Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
src/index.ts Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Show resolved Hide resolved
src/createGACFile.ts Outdated Show resolved Hide resolved
src/createGACFile.ts Outdated Show resolved Hide resolved
src/index.ts Show resolved Hide resolved
minherz and others added 15 commits May 24, 2024 14:21
refactor code to stop creating an empty action.
refactor code to move deploy code to stand alone methods.
change log severity to report errors.
add extra info logs to improve verbosity of the action.
Co-authored-by: Jeff <[email protected]>
Throw an error if `firebase.json` is missing.
Print a neutral tracking log after processing GAC info
because rebasing was complex the implementation of disableComment parameter had to be fixed.
@minherz
Copy link
Author

minherz commented Jul 1, 2024

Closing PR due to lack of activity.
The implementation is available as the action minherz/firebase-hosting-deploy@v1

@minherz minherz closed this Jul 1, 2024
@FirebaseExtended FirebaseExtended locked and limited conversation to collaborators Aug 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants