The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Firebase deployment fails

Shaikh Sanya
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 18, 2019
# using the available node version at Google Cloud Functionimage: node:6.11pipelines: default: - step: name: Test function script: - npm install - npm install firebase-tools  - firebase init - firebase deploy # - npm test branches: master: - step: name: Build function script: - pipe: atlassian/firebase-deploy:0.2.3 variables: FIREBASE_TOKEN:xxxb PROJECT_ID: 'value' MESSAGE: 'Deploying myAwesomeProject' EXTRA_ARGS: '--only functions' DEBUG: 'true'

I have tried to set up the pipeline but everytime it gives me this error

Error: Not in a Firebase app directory (could not locate firebase.json) 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Alexander Zhukov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 20, 2019

Hi Shaikh! Do you have a firebase.json file somewhere in your repository? If not, you should create one, here is how to do it https://firebase.google.com/docs/cli/#the_firebasejson_file

TAGS
AUG Leaders

Atlassian Community Events