forked from xiaohei/taiji-pda-v0
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user