How to pull my repository to development server

My gitlab repository is https://gitlab.com/jithin_wdstech/sugarer.git

I need to pull files to my development server dev.sugarer.com as soon as files pushed to repository.

I have tried and created a .gitlab-ci.yml file, but its showing error.

I have gone through some tutorial and I can’t understand how to do that.

Can anyone tell me a simple steps to pull to server.

Am new to gitlab. Any answers will be appreciated. Thank you.