You have to follow three steps to set up a basic deployment pipeline or the first time setup.
Set up a build server
Install a few test suites
Add a deployment step and finally,
Run the server to publish what you have developed so far