fix(azure): set output_location to empty string for IS_STATIC_EXPORT
When IS_STATIC_EXPORT=true, Azure SWA expects output_location to be
an empty string ('') to auto-detect Next.js static export files.
Azure will look for the app source in app_location='/' and auto-discover
the 'out' directory where Next.js static export outputs files by default.
Fixes: Cannot find default file in artifacts folder (/) error
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