Deploy to a production/acceptance/test domain with Bitbucket Deploy

I am looking for an example of any kind to know how I am going to make deployments to a non-google cloud/amazon/heroku/whatever environment.

I got 3 environments:

- Testing
- Acceptance
- Production

They all run Direct Admin (I thought CentOS or something, pre-installed). They use SSH.

And I want to be able to deploy my repository, build my NPM and then put it on the wanted environment. But I have not been able to see how. I have been searching on Google and this forums for 2 days now, but I still have not found what I am looking for.

Can anyone point me in the right direction?

1 answer

This widget could not be displayed.

I am not there yet, but I've come pretty far with setting up this functionality.

Step 1:
Create an image with composer, node, debian & php.
Step 2:
Set up the pipelines.yml
Step 3:
Install NPM & Composer and run the build commands
Step 4:
Put the build files in a artifacts folder.
Step 5:
Run another step with an image with rsync on it.
Step 6:
Rsync all files

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,348 views 8 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you