You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.
Join groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
My Setup
I have A Project in Firebase With Multiple sites ,
I have different React Projects corresponding to different user type (like Teachers , Student , Admin)
Objective
I am tiring to use pipeline to deploy to a specific site in firebase,
It turned out to be relatively easy
Here's What I did to my bitbucket-pipelines.yml file
Not fix the indentation using the validator
step:
name: Deploy dist folder to firebasee
script:
- pipe: atlassian/firebase-deploy:1.0.0
variables:
FIREBASE_TOKEN: $FIREBASE_TOKEN
PROJECT_ID: '$FIREBASE_PROJECT'
MESSAGE: 'Deploying '
EXTRA_ARGS: '--only hosting'
MULTI_SITES_CONFIG: >
[{
"TARGET": "your-target-name",
"RESOURCE": "your-site-id"
},
]
DEBUG: 'true'
and firebase.json
{
"hosting": [{
"target": "your-target-name",
"public": "build",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [{
"source": "**",
"destination": "/index.html"
}]
}]
}
This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.