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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.