update Static Web Apps docs (#1890)

Azure Static Web Apps is a specific product so it's important to use that for the title rather than just 'Azure'.
This commit is contained in:
Christian Oliff authored and GitHub committed 2022-11-12 21:54:42 -08:00
1 parent da2197c9e6
commit e4c8b30eb4
1 file changed
+6 -6
@@ -1,6 +1,6 @@
--- ---
title: Host on Azure title: Host on Azure Static Web Apps
linktitle: Host on Azure linktitle: Host on Azure Static Web Apps
description: Deploy Hugo to Azure Static Web Apps and automate the whole process with Github Action Workflow description: Deploy Hugo to Azure Static Web Apps and automate the whole process with Github Action Workflow
date: 2021-03-12 date: 2021-03-12
publishdate: 2021-03-12 publishdate: 2021-03-12
@@ -68,12 +68,12 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Build and Deploy Job name: Build and Deploy Job
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
submodules: true submodules: true
- name: Build And Deploy - name: Build And Deploy
id: builddeploy id: builddeploy
uses: Azure/static-web-apps-deploy@v0.0.1-preview uses: Azure/static-web-apps-deploy@v1
with: with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }} azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }}
repo_token: ${{ secrets.GITHUB_TOKEN }} repo_token: ${{ secrets.GITHUB_TOKEN }}
@@ -82,7 +82,7 @@ jobs:
api_location: "api" # Api source code path - optional api_location: "api" # Api source code path - optional
output_location: "public" # Built app content directory - optional output_location: "public" # Built app content directory - optional
env: env:
HUGO_VERSION: 0.58.0 HUGO_VERSION: 0.100.2
``` ```
## Use a Custom Domain ## Use a Custom Domain
@@ -98,4 +98,4 @@ Azure Static Web Apps supports custom domains as a CNAME or APEX domain mapping.
[azureportal]: https://portal.azure.com/ [azureportal]: https://portal.azure.com/
[swaconfig]: https://docs.microsoft.com/azure/static-web-apps/github-actions-workflow?WT.mc_id=javascript-26008-aapowell [swaconfig]: https://docs.microsoft.com/azure/static-web-apps/github-actions-workflow?WT.mc_id=javascript-26008-aapowell
[domains]: https://docs.microsoft.com/azure/static-web-apps/custom-domain?WT.mc_id=javascript-26008-aapowell [domains]: https://docs.microsoft.com/azure/static-web-apps/custom-domain?WT.mc_id=javascript-26008-aapowell
[Quick Start]: /getting-started/quick-start/ [Quick Start]: /getting-started/quick-start/