Skip to content

How to create a Firebase preview URL and associated Github comment? #2

@BenJackGill

Description

@BenJackGill

Can I use this in a similar manner to the other Github Action from the Firebase docs?

Here is a summary of what it does:

  • Creates a new preview channel (and its associated preview URL) for every PR on your GitHub repository.
  • Adds a comment to the PR with the preview URL so that you and each reviewer can view and test the PR's changes in a "preview" version of your app.
  • Updates the preview URL with changes from each commit by automatically deploying to the associated preview channel. The URL doesn't change with each new commit.
  • (Optional) Deploys the current state of your GitHub repo to your live channel when the PR is merged.

I was hoping to use this instead of that other action because I also want to update Firebase Functions (the other action is limited to Firebase Hosting only). But I'm new to Github Actions and struggling to figure out how to replicate the original functionality before I even add the Firebase Functions part.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions