Skip to content

Commit

Permalink
staticwebapp.config.json should be in the dist folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
rudieekkelenkamp committed Dec 13, 2023
1 parent 7c48404 commit 28c6693
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions docs/public/deployments/azure/azure-pipelines-archive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ steps:
"VITE_MAPBOX_TOKEN": "$(VITE_MAPBOX_TOKEN)"
}
- script: |
cp docs/public/deployments/azure/staticwebapp.config.json .
npm install
npm --version
node --version
npm run build
cp docs/public/deployments/azure/staticwebapp.config.json dist
displayName: 'npm install and build of Web Operator Client'
- task: AzureStaticWebApp@0
inputs:
app_location: '/'
# When used with skip_app_build: true, this value is the app's build output location.
app_location: '/dist'
api_location: ''
skip_app_build: true
app_artifact_location: 'dist'
output_location: ''
azure_static_web_apps_api_token: $(deployment_token)
skip_app_build: 'true'
verbose: 'true'
azure_static_web_apps_api_token: $(deployment_token)
10 changes: 5 additions & 5 deletions docs/public/deployments/azure/azure-pipelines-secured-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@ steps:
"VITE_AUTH_SCOPE": "openid profile email Offline_Access api://$(AZURE_APP_CLIENT_ID)/Delft-FEWSWebServices"
}
- script: |
cp docs/public/deployments/azure/staticwebapp.config.json .
npm install
npm --version
node --version
npm run build
cp docs/public/deployments/azure/staticwebapp.config.json dist
displayName: 'npm install and build of Web Operator Client'
- task: AzureStaticWebApp@0
inputs:
app_location: '/'
# When used with skip_app_build: true, this value is the app's build output location.
app_location: '/dist'
api_location: ''
skip_app_build: true
app_artifact_location: 'dist'
output_location: ''
skip_app_build: 'true'
verbose: 'true'
azure_static_web_apps_api_token: $(deployment_token)

0 comments on commit 28c6693

Please sign in to comment.