Hosting moved to Azure Static Web Site

In order to reduce costs I have moved the site from an www.one.com to an Azure Static Web Site which offers free hosting. As the site is fully static already I do not need the PHP and DB stuff that comes with a hosting plan on www.one.com.

Steps

The steps needed

  • Create the Azure Static Web App via the portal
  • Get the API key and put it in a Github Action secret
  • Create a Github action deployment script
  • Push changes

Preparation

Having

  • Hugo installed locally
  • The repository of the site cloned locally
  • The theme of the site cloned locally

allows the use of hugo server to watch how new articles and other changes affect the site. When done push and merge.