Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,644,556
Community Members
 
Community Events
196
Community Groups

Can't get Pipeline to deploy to Firebase

Hi, I would like to use Bitbucket to deploy React App to my Firebase project. With git the actions are set up for you but I have been round and round with Bitbucket and can't find the correct combination. 

The error I see is:

INFO: Starting deployment of the project to Firebase.
Error: Not in a Firebase app directory (could not locate firebase.json)

I've put firebase.json in every directory and no luck. What can I do?

1 answer

For the next person who runs into this. 

Here is the Pipeline that worked:

```

image: node:16

# Workflow Configuration

pipelines:

  branches:
    master:
      - step:
          name: Build and Test
          caches:
            - node
          script:
            - npm install && npm run build

          artifacts:
            - build/**
      - step:
          name: Security Scan
          script:
            - pipe: atlassian/git-secrets-scan:0.5.1
      - step:
          name: Deploy to Firebase
          deployment: Production
          script:
            # sync your files to Firebase
            - pipe: atlassian/firebase-deploy:2.0.0
              variables:
                KEY_FILE: '<base64 your gcp_creds.json>'
                FIREBASE_TOKEN: 'your token from running command firebase login:ci'
                PROJECT_ID: '<your project name>'

```

Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Aug 26, 2022

@jamesferreira  hi. Good to know you solved your issue.

Additionally to your response i will add link to example of firebase-deploy

Regards, Igor

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events