I am using the Firebase deployment pipeline:
https://bitbucket.org/atlassian/firebase-deploy/src/master/
It deploys ok all my FB components, except for HOSTING.
It says:
Error: Specified public directory 'ui/build' does not exist, can't deploy hosting to site pupa101
✖ Deployment failed.
Same command runs fine on command line, based on same firebase.jsonfile which stipulates:
"hosting": { "public": "ui/build", "ignore": [ "firebase.json", "**/.*", "**/node_modules/**" ], "rewrites": [ { "source": "**", "destination": "/index.html" } ] },
Presumably, the script works well for the default "public": "public" keypair, but not if the public folder is customised. I suspect a bug?
@Lucas Challamel can you please give more information how you build your application before using firebase.
Do you use npm install?
I tried to reproduce the case npm installing to specified dir and it succeeded.
Can you share also full log?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.