Running a Blazor Server app with Amplify via Github

0

I tried to get my Blazor Server app running by following this tutorial: https://aws.amazon.com/de/blogs/devops/deploy-net-blazor-webassembly-application-to-aws-amplify/ However, it is for Blazor wasm and it does not seem to work for Blazor Server. I do not know why but I just get an 404 after publishing. I have also tried to use 'baseDirectory: /release' instead of 'baseDirectory: /release/wwwroot' but it did not work. Nothing useful appears on the logs, I think. It ends with:

2023-05-03T15:36:23.705Z [INFO]: Similino -> /codebuild/output/src852460419/src/similino/bin/Release/net6.0/Similino.dll
2023-05-03T15:36:23.864Z [INFO]: Similino -> /codebuild/output/src852460419/src/similino/release/
2023-05-03T15:36:23.886Z [INFO]: # Completed phase: build
2023-05-03T15:36:23.889Z [INFO]: ## Build completed successfully
2023-05-03T15:36:23.889Z [INFO]: # Starting caching...
2023-05-03T15:36:23.890Z [INFO]: Nothing to cache
2023-05-03T15:36:23.890Z [INFO]: # Caching completed
2023-05-03T15:36:23.895Z [INFO]: # No custom headers found.
2023-05-03T15:36:23.910Z [WARNING]: !! No index.html detected in deploy folder: /codebuild/output/src852460419/src/similino/release
2023-05-03T15:36:23.910Z [INFO]: # Starting build artifact upload process...
2023-05-03T15:36:24.711Z [INFO]: # Uploading build artifact '__artifactsHash.zip'...
2023-05-03T15:36:24.752Z [INFO]: # Uploading build artifact '__artifacts.zip'...
2023-05-03T15:36:24.968Z [INFO]: # Build artifact upload completed
2023-05-03T15:36:24.968Z [INFO]: # Starting environment caching...
2023-05-03T15:36:24.968Z [INFO]: # Uploading environment cache artifact...
2023-05-03T15:36:25.024Z [INFO]: # Uploaded environment cache artifact
2023-05-03T15:36:25.024Z [INFO]: # Environment caching completed
Terminating logging...
User
질문됨 일 년 전108회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠