How to pull my repository to development server

My gitlab repository is

I need to pull files to my development server 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.