Deploying your Angular Site to Netlify

This guide will cover the steps on how you can deploy your site built with Angular and Agility CMS to Netlify.

Deploying your Angular site to Netlify

Setting Up Production Domain in Agility

Deploying your Angular site to Netlify

Sign in to your Netlify account, or Sign Up if you don't already have one. Then, create a New Site from Git. Choose the Git provider where your site’s source code is hosted.

Screen_Shot_2021-06-24_at_11.21.11_AM.png

Search for the Angular site you wish to deploy.

Screen_Shot_2021-06-24_at_11.21.29_AM.png

Ensure the build command is running npm run build

Screen_Shot_2021-06-24_at_11.22.41_AM.png

When the site is deployed, you'll notice the site with its Published Content.

Screen_Shot_2021-05-20_at_11.35.17_AM-1.png

Setting Up Production Domain in Agility

Once you have your Production Deployment set up on Netlify, we can set up the domain Netlify provides as the Production Domain in Agility CMS.

Learn how to customize your domain in Netlify

Screen_Shot_2021-06-24_at_11.25.09_AM.png

In Agility CMS, head to Settings > Sitemaps, and set up a new Custom Deployment.

Screen_Shot_2021-05-20_at_11.07.49_AM.png

Give your deployment a Name, enter the URL, and set it as the Production Deployment then click Save.

Screen_Shot_2021-06-24_at_11.26.43_AM.png

 

1 out of 1 found this helpful

Comments

0 comments

Please sign in to leave a comment.