It says "Your configuration looks good!" with the green checkmark and everything... but when I click "commit file" I get a little popup that says "Something went wrong" with a description that also says "Something went wrong." The console has a few warnings & errors:
(plain log): [Simple-XDM] Failed to validate origin: https://bitbucket.org
(error): POST https://api.bitbucket.org/2.0/repositories/<user>/<repo>/src/ 500
Here's my script:
- npm install
- npm run-script build
- firebase deploy --token=$FIREBASE_CICD_TOKEN --project $FIREBASE_STAGING_PROJECT_ID --non-interactive
I'll admit this is the first time I've tried setting up a deployment pipeline from scratch, so the issue could be very obvious... but since I get the green checkmark validating my script, it seems like it should at least be able to upload it (and run into problems once it runs) :\
My goal is simply to have it so whenever we make a PR into our staging branch, it will automatically build and deploy the project to our Firebase hosting so beta testers can try the upcoming versions of our site. I also have some environment variables set so the React app will be built with the correct API key and what not (i.e. process.env.REACT_APP_FIREBASE_PROJECT_ID) which works fine when I build locally and then deploy.
Sorry, couldn't find anything on it before. Refined my Google search and found [this](https://community.atlassian.com/t5/Bitbucket-questions/Problem-with-Bitbucket-pipelines/qaq-p/794245) which seems to have solved my problem.
Can't figure out how to delete this post now lol
...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...
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