Hi all!
I have a virtual server with a static ip which I have successfully connected to the domain.
I created a SSH key for the repository that has been successfully connected to the server...
I have a bitbucket-pipelines with minimal configuration which does not meet my needs at the moment.
I have 2 branches, dev and master. Let's say that the dev branch is located on the subdomain dev.example.com and the source code is in the folder /var/www/example.com/prod dev respectively, the main branch is master and the original course is at /var/www/example.com
How to configure the pipelines so that, if you run the command git push origin master my code got me to the specified folder on the server depending on the branch?
I use python as a server language...
Thank you