# 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)