Answer the question
In order to leave comments, you need to log in
How to organize a (simple) automatic deployment of a project from a Git repository?
There is a PHP project (not a website, no dependencies) in a repository on Bitbucket.
It is required that when committing to the production branch, all changes are uploaded to the servers.
No other action is required, just automatically keep the files up to date on the server.
There are several servers (there are many folders with the project on each), so I would like to see the configuration of this whole thing in one or more files.
The structure looks something like this:
Server01
/home/folder01
/home/folder02
/home/folder03
Server02
/home/folder01
/home/folder02
/home/folder03
All folders are filled with the same thing (production branch). Each folder has its own settings file, it must remain unchanged.
What is the easiest and most convenient deployment option for this case?
Heard about Bitbucket Pipelines, but I don't use Docker.
Answer the question
In order to leave comments, you need to log in
Heard about Bitbucket Pipelines, but I don't use Docker.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question