Hello,
I've been using pipelines to deploy to Heroku with great success. It's a fantastic feature.
I am now trying to setup a pipeline for my React app on Firebase.
Below is the pipeline.yml file I'm using for my master;
#pipeline file
image: node:8.12.0
pipelines:
branches:
master:
- step:
deployment: production
caches:
- node
script: # Modify the commands below to build your repository.
- npm install -g firebase-tools
- npm install
- npm build && firebase deploy --token=$FIREBASE_TOKEN --project $FB_PROJECT --public build
I've tried multiple variations on the syntax above, each time I get an error that the "build" folder cannot be found.
Would anyone happen to know the correct syntax?
When I deploy locally, it is simply "npm build && firebase deploy".
Thank you in advance!