5 static websites deployment options: Deploying to GitHub Pages; Deploying to Netlify; Deploying to Docker Hub; Deploying to Public Cloud (Azure); Deploying to Surge. We will look at different ways of deploying a sample static website using automated CI/CD pipelines and different hosting providers.
Static websites have become a mainstream content delivery medium consumed by modern browsers. In this blog, we will look at different ways of deploying a sample static website using automated CI/CD pipelines and different hosting providers.
To make a bit more interesting, the sample website is designed using Blazor and compiled using Web Assembly with PWA option on. This shows that not only simple websites can be delivered as static content but also potentially complex web apps benefit from this delivery mechanism.
All builds and deployments are automated and triggered based on commit to master branch of a GitHub repository. For deployment to Netlify and Surge you will need to create accounts in both hosting providers and use GitHub actions templating feature to substitute variables in deployment manifests with content from Secrets. To access and setup secrets go to Project Settings page and find Secrets tab.
GitHub Secrets Management in a Project
My motivation to write this blog was to present different deployment options for static content and introducing the topic of modern content delivery mechanism available for free.
Every build and deployment is fully automated and takes advantage of the “pipelines as code” concept where each step within the CI/CD pipeline is represented as section of a yaml file. This file can be checked into a repository alongside your source code and versioned and maintained as one of the artifacts.
Let’s look at different deployment options in more detail. Each option has a corresponding yaml file details steps needed to build and deploy the site.
Find the best PWA App Developers, to choose from a well-researched list of top PWA development companies and help you to develop Progressive Web Apps for your business.
With the rapid development in technology, the old ways to do business have changed completely. A lot more advanced and developed ways are ...
You name the business and I will tell you how web development can help you promote your business. If it is a startup or you seeking some...
Build your eCommerce project by hiring our expert eCommerce Website developers. Our Dedicated Web Designers develop powerful & robust website in a short span of time.
This article covers A-Z about the mobile and web app development process and answers your question on how long does it take to develop/build an app.