Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Firebase deployment fails

Shaikh Sanya 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

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events