How to redeploy to firebase

2,830 views
Skip to first unread message

John Hart

unread,
Apr 11, 2017, 1:18:52 AM4/11/17
to Firebase Google Group
I have made changes to my deployed website and I want to replace all the code but when I deploy it only changes 1 file. I have tried the --debug option but still can not work out what I am doing wrong. I am using angular 4 and the latest versions of firebas and angular cli.

My firebase console informs me I have only deployed 1 file.

Michael Bleigh

unread,
Apr 11, 2017, 2:33:00 AM4/11/17
to Firebase Google Group

Check the "public" directory of your firebase.json, then make sure it actually matches your build directory. When you deploy it should tell you the exact directory it's deploying... Check there for files.


On Mon, Apr 10, 2017, 10:18 PM John Hart <john.3...@gmail.com> wrote:
I have made changes to my deployed website and I want to replace all the code but when I deploy it only changes 1 file. I have tried the --debug option but still can not work out what I am doing wrong. I am using angular 4 and the latest versions of firebas and angular cli.

My firebase console informs me I have only deployed 1 file.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/92216c01-fa4f-4b92-82b2-b3c60500f67d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

John Hart

unread,
Apr 12, 2017, 2:10:55 AM4/12/17
to Firebase Google Group
It took a while but I finally worked out what was needed to be sent. Also I did an ng build before the deploy as suggested in

http://stackoverflow.com/questions/37317311/firebase-site-not-updated-after-doing-firebase-deploy

What would we do without people who give their time and knowledge to help those who are just starting to learn.

Thank you.


Reply all
Reply to author
Forward
0 new messages