Netlify is a very cool platform to build, release and host modern web projects.

In this article I want to share my experience on delivering angular web application to Netlify using GitHub repository.

First of all, we need a new repository on GitHub, so let’s create one.

In this story I would share how to deliver same docker image with angular application inside to any environments.

First of all, we have to create a new application or get an existing one.

By default angular use environment.ts to store configurations for different environment, such as url of backend api. But if we use this approach we have to do different build for each environment (like testing, staging, prod, etc). To avoid multiple build we can use the approach explained in this article.

STEP 1 — Environment variables

As mention before, we can’t use environment.ts to store different values per environments, so let’s create…

Gabriele Milan

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store