How to upload code to the Google Cloud (Compute Engine) using Bitbucket?

No
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 30, 2018

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

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events