I would like to set up a pipeline to build and deploy a preview of PRs that can be used for testing against our dev project in Firebase.
The integration seems to be a wrapper for the firebase deploy command, but even with a "--only hosting" argument it would push to the live hosting instead of a temporary preview channel (see the documentation for deploying to a preview channel).
The command we need is below, where "CHANNEL_ID" might be the branch name for the PR.
firebase hosting:channel:deploy CHANNEL_ID
@Jake Sheets hi. Thanks for your suggestion. It's a good idea to create feature request here:
Regards, Igor
I have created a new suggestion in the project you linked.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@lt7 hi.
Current status of this feature is "not implemented, gathering interests". You should vote for this feature. Also the link exists, but not visible to you.
Regards, Igor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Igor Stoyanov I see the following so can't vote on it or read any comments.
Was there an answer to "If this can't be done with the integration directly, then would it be possible to use the integration to help with the CLI authentication using the "KEY_FILE" and other ENV parameters?" on the JIRA ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@lt7 it's feature request. It's not implemented.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@lt7, @Jake Sheets if you need to somehow authenticate inside a pipeline without pipe usage, you need to have `GOOGLE_APPLICATION_CREDENTIALS` environ or token.
This is an example how we do it in the pipe:
firebase-deploy example in repo
Regards, Igor.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.