# 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)
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.