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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user