Automatically pushing code to Linode repository

Michel Mbayed
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!
December 1, 2021

Hello there,

Is there any way to push a code into a Linode repo after it being pushed to bitbucket?

in other terms, when i push some code to a Bitbucket repo, i want that code automatically to be pushed into another repo located in a Linode server.

i appreciate if someone can help me

1 answer

0 votes
nioanto January 20, 2022

Hi,

the second push are another git server right?

if yes do:

add the second server to your git bitbucket with:

 

git remote add linode http://server_on_linode/path.git

and then

git push linode 

 

to automate I think you should create a script where to put the push commands

git push origin ---> to push on bitbucket

git push linode ---> to push on linode

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events