fix(azure): set output_location to empty string when using IS_STATIC_EXPORT

When IS_STATIC_EXPORT=true is set, Azure SWA automatically detects
Next.js static export output at 'out/' directory. Explicitly setting
output_location causes artifact detection to fail.

Per Azure official documentation:
https://learn.microsoft.com/en-us/azure/static-web-apps/deploy-nextjs-static-export
This commit is contained in:
xiaohei
2025-12-29 08:36:43 +00:00
parent ca537c971e
commit 7c1eea53b7
+1 -1
View File
@@ -37,7 +37,7 @@ jobs:
action: 'upload'
app_location: '/'
api_location: ''
output_location: 'out'
output_location: ''
skip_app_build: true
skip_deploy_on_missing_secrets: true
env: