Can I Deploy a Blazor .NET8

I can’t deploy Blazor Web App .NET8

– log

03:54:35.625 Success: Finished cloning repository files
03:54:36.417 Detected the following tools from environment:
03:54:36.418 Executing user command: ./build.sh
03:54:36.424 /bin/sh: 1: ./build.sh: Permission denied
03:54:36.427 Failed: Error while executing user command. Exited with error code: 126
03:54:36.434 Failed: build command exited with code: 1
03:54:37.348 Failed: error occurred while running build command

– build.sh
#!/bin/sh
curl -sSL https://dot.net/v1/dotnet-install.sh > dotnet-install.sh
chmod +x dotnet-install.sh
./dotnet-install.sh -c 7.0 -InstallDir ./dotnet
./dotnet/dotnet --version
./dotnet/dotnet publish -c Release -o output

Changing 7.0 to 8.0 also fails.
help me

Don’t know about blazer, but your build script isn’t executable. You need to either mark it as executable or change your build command to bash ./build.sh

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.