A hook that let `pull` from VPS when I `push` to Bitbucket

admin

Administrator
Staff member
I'm managing my wordpress template in Bitbucket.

Each time I
Code:
push
the theme, I must log in my VPS server and
Code:
pull
the repo.
I want to do it automatically.

I found a solution if I run git deamon myown.
<a href="https://stackoverflow.com/questions/15569581/do-an-automatic-pull-request-after-pushing-to-server">Do an automatic pull request after pushing to server</a>

But I want to use Bitbucket because it works as a backup also.

I found a Document about bitbucket's hook, but I could't find how to do it.
<a href="https://confluence.atlassian.com/display/BITBUCKET/Manage+Bitbucket+hooks" rel="nofollow noreferrer">https://confluence.atlassian.com/display/BITBUCKET/Manage+Bitbucket+hooks</a>

Could anyone show me a solution?