diff options
-rw-r--r-- | content/en/hosting-and-deployment/hosting-on-azure.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/content/en/hosting-and-deployment/hosting-on-azure.md b/content/en/hosting-and-deployment/hosting-on-azure.md index db1a56002..f63c0153c 100644 --- a/content/en/hosting-and-deployment/hosting-on-azure.md +++ b/content/en/hosting-and-deployment/hosting-on-azure.md @@ -1,6 +1,6 @@ --- -title: Host on Azure -linktitle: Host on Azure +title: Host on Azure Static Web Apps +linktitle: Host on Azure Static Web Apps description: Deploy Hugo to Azure Static Web Apps and automate the whole process with Github Action Workflow date: 2021-03-12 publishdate: 2021-03-12 @@ -68,12 +68,12 @@ jobs: runs-on: ubuntu-latest name: Build and Deploy Job steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: true - name: Build And Deploy id: builddeploy - uses: Azure/static-web-apps-deploy@v0.0.1-preview + uses: Azure/static-web-apps-deploy@v1 with: azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }} repo_token: ${{ secrets.GITHUB_TOKEN }} @@ -82,7 +82,7 @@ jobs: api_location: "api" # Api source code path - optional output_location: "public" # Built app content directory - optional env: - HUGO_VERSION: 0.58.0 + HUGO_VERSION: 0.100.2 ``` ## 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/ [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 -[Quick Start]: /getting-started/quick-start/
\ No newline at end of file +[Quick Start]: /getting-started/quick-start/ |