Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Arjan Oskam December 8, 2017

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

0 votes
Arjan Oskam February 15, 2018

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
TAGS
AUG Leaders

Atlassian Community Events