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

[BUG] Unable to setup Firebase Hosting #146

Closed JamesVanWaza closed 1 year ago

JamesVanWaza commented 3 years ago

I am trying to setup Firebase Hosting, since I had already setup Hosting before, when i run the following

firebase init hosting:github i keep getting the following error - see screenshot below.

Screen Shot 2021-08-08 at 5 35 52 PM

This is my workflows/hosting.yml file

- name: Deploy to Firebase Hosting
  uses: FirebaseExtended/action-hosting-deploy@v0
mbleigh commented 3 years ago

What version of the Firebase CLI do you have? Can you please update to the latest version and try again?

JamesVanWaza commented 3 years ago

@mbleigh says 8.6.0and I have already tried updating to 9.16.5 but no luck.

JamesVanWaza commented 3 years ago

@mbleigh, I am still unable to set up Firebase Actions please assist. I run the following command npm install -g firebase-tools but version is still 8.6.0

JamesVanWaza commented 2 years ago

@mbleigh, I was finally able to update the version of Firebase and setup Firebase Hosting, but now the error, I keep getting is after running the action, I keep getting the error unable to find html-webpack-plugin even though, I have installed it.

JamesVanWaza commented 2 years ago

@mbleigh , continued progress so far. Thanks to the new version of firebase init, I can set it up automatically. However, the only challenge I have right now is, in the main project, I have 10 different sites and even though I for firebase hosting they all have different domains, the files are pushing to one domain. What is the right way to deploy, to different domains if all the apps, use the same project name?

bkendall commented 1 year ago

I think your question is better suited for the Firebase Community, stack overflow, or the firebase/firebase-tools repo.