firebase deploy doesn't update code example
Example: firebase hosting doesn't update deploy
Go to your page and then press CTRL+SHIFT+R this will clear all the cache
What happens here is that Firebase has a default 5 min of memory cache
this is why your changes aren't workiing. For more details visit the link
attached to this answer