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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

23,813 views 26 12
Join discussion

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