Home:ALL Converter>Deploying Angular 5 application to own infrastructure with GitLab CI/CD

Deploying Angular 5 application to own infrastructure with GitLab CI/CD

Ask Time:2018-05-03T16:29:43         Author:Michael Adlhoch

Json Formatter

I´m trying to deploy an Angular 5 application (created with Angular CLI) with GitLab CI/CD. The runner is already registered for the project (installed on a VM with Ubuntu). Now I wonder how I can deploy my application to a server, which is reachable from another machine.

TL;DR

  • How can I deploy an Angular 5 application to my own server?
  • How should a gitlab-ci.yaml file look like in this case?
  • Are there best practices for using GitLab CI in this case?

Thanks for the answers in advance, I simply can not figure it out from the documentation.

Author:Michael Adlhoch,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/50150394/deploying-angular-5-application-to-own-infrastructure-with-gitlab-ci-cd
yy