It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

getting Error: Deploy target home-rw not configured when deploying multiple sites to firebase Edited

I am trying to use bitbucket pipeline to deploy to firebase. I have multiple sites for one project. The content of firebase.json as in below: 

{ "hosting": [ { "target": "home-rw", "public": "built/www", "cleanUrls": true, "headers": [ { "source": "/", "headers": [ { "key": "Cache-Control", "value": "no-cache" } ] }, { "source": "/**", "headers": [ { "key": "Cache-Control", "value": "public, max-age=31536000" }, { "key": "Access-Control-Allow-Origin", "value": "*" } ] } ], "ignore": [ "firebase.json", "**/.*", "**/node_modules/**" ] }, { "target": "web-rw", "public": "built/web", "headers": [ { "source": "[0-9.]*/**", "headers": [ { "key": "Cache-Control", "value": "public, max-age=31536000" }, { "key": "Access-Control-Allow-Origin", "value": "*" } ] }, { "source": "index.html", "headers": [ { "key": "Cache-Control", "value": "max-age=300" } ] } ], "ignore": [ "firebase.json", "**/.*", "**/node_modules/**" ], "cleanUrls": true, "trailingSlash": false } ]}

When executed with the command below in bitbucket-pipelines.yaml, I got this error: 

Status: Downloaded newer image for bitbucketpipelines/firebase-deploy:0.2.1
INFO: Executing the pipe...
INFO: Starting deployment of the project to Firebase.
Error: Deploy target home-rw not configured for project web-development-rw-f526f. Configure with:

firebase target:apply hosting home-rw <resources...>

Does anyone know how to deploy multiple sites?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,038 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you