I have a repo with some code and I have another repo that has the same code, but in a different file structure. This is so that I have the first repo for development and the second repo for deployment to Heroku.
I'm having trouble figuring out how I would push to a different repo. My pipeline is set up something like this:
pipelines: branches: master: - step: script: - cd .. - git clone firstname.lastname@example.org:themahakuma/jeebito-heroku-deployment.git - cp -r build/development-repo/. deployment-repo/ - cd deployment-repo/ - git config --global user.email "email@example.com" - git config --global user.name "pipeline" - git add . - git commit -m "Updating heroku deployment repo" - git push origin master:master
I've tried making the remote url set to use https instead as well. I've tried adding my own credentials and none of it works.
Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...
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