Simple guide, for deploying webinterface to test-environment

Hey all
I’ve a gitlab server(version 10.x), running on my own virtual machine.
I’ve been very pleased with how simple and easy the control of multiple git repository management is.

Now i wanted to take a step into CI/CD.

First thing I wanted, was a simple move of the files to the deployment folder on my test machine, which is running on another server.

Though this is already causing me headaches, I simply does not see how to do this on a .yaml script?

Does anyone have a simple guide/tutorial for this?

I’ve read most of what is under the CI/CD sections, but to be honest, it’s not everything that I understand.

-Anders