Deploy Stage on Gitlab CI


I’ve been using Gitlab CI for testing CHEF recipes, but one thing I get confused about is the deploy stage. How do you get the Gitlab runner to actually push a file to another server (i.e. CHEF or web server)?

For example, the file (html or ruby) passes all tests, but how do I actually get that file to be pushed? Is there some unique syntax I must specify? Can you do something as a simple as a scp to another server?