fix(azure): set app_location to /out where static files are

Since we use skip_app_build: true and is_static_export: true,
Azure SWA looks for static files directly in app_location.

Next.js static export outputs to 'out/' directory, so we point
app_location directly to '/out' where index.html exists.
This commit is contained in:
xiaohei
2025-12-29 09:27:22 +00:00
parent 0b388ce82b
commit 5afd8d423b
+1 -1
View File
@@ -35,7 +35,7 @@ jobs:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
action: 'upload'
app_location: '/'
app_location: '/out'
api_location: ''
output_location: ''
skip_app_build: true