Dev Portal code deployment

Not applicable

Hello,

I am new to Developer Portal. My question is very straight forward. I have my code in my bitbucket repository I want it to deploy to my company's developer portal. Can any one tell the process. Step by step process would be much appreciated.

Thanks,

Shobhit

0 2 253
2 REPLIES 2

You are using the Drupal-based devportal, hosted on pantheon?

Assuming you are using a git repo on bitbucket (apparently bitbucket also supports mercurial repositories), then, it's just standard git stuff. The way I do it:

  • define separate remotes
  • git pull from the bb remote
  • git push to the pantheon remote

Something like:

git clone git@bitbucket.org:shobit/name-of-bb-repository.git
git remote add pantheon ssh://codeserver.dev.94a967ce-97f8-4a5a@codeserver.c895.drush.in:2222/~/repository.git
git pull origin master
git push pantheon master

You get the ssh: url for the pantheon repository from the pantheon dashboard. Login to pantheon.io to see that.

Not applicable