Hugo Deploying site to azure
Deploying site to azure
- Navigate to the Azure portal
- Select Create a Resource
- Search for Static Web Apps
- Select Static Web Apps
- Select Create
- On the Basics tab, enter the following values. Property Value Subscription Your Azure subscription name. Resource group my-hugo-group Name hugo-static-app Plan type Free Region for Azure Functions API and staging environments Select a region closest to you. Source GitHub
- Select Sign in with GitHub and authenticate with GitHub.
- Enter the following GitHub values. Property Value Organization Select your desired GitHub organization. Repository Select hugo-static-app. Branch Select main.
- In the Build Details section, select Hugo from the Build Presets drop-down and keep the default values.
- Select the Review + Create button to verify the details are all correct.
- Select Create to start the creation of the App Service Static Web App and provision a GitHub Action for deployment.
- Once the deployment completes click, Go to resource.
- On the resource screen, click the URL link to open your deployed application. You may need to wait a minute or two for the GitHub Action to complete.
- Access the url
For more learning, check out: