PEERbots / peerbots-content

0 stars 1 forks source link

Deploy action is only deploying hosting not functions #62

Closed sbeleidy closed 2 years ago

sbeleidy commented 2 years ago

When we run the deploy script it currently runs firebase deploy --only hosting and does not include cloud functions.

See: https://github.com/gdg-x/hoverboard/issues/2038 and https://github.com/FirebaseExtended/action-hosting-deploy/issues/54

sbeleidy commented 2 years ago

So I think what we can do is use https://github.com/w9jds/firebase-action for deploying to production and that will fix the production issues.

As for previews, we can maybe change the settings so that it doesn't use SSR and just uses static site generation / deployment.

As of right now any pages other than / on the site seem to be loading an older version of the site (what I'm presuming is whatever was deployed with the cloud function)

sbeleidy commented 2 years ago

cc: @Azamabidjanov