Quick question, how would i deploy from github to Heroku currently i tried using the following buildpack but no joy github.com/jincod/dotnetcore-build...
Log follows
-----> Building on the Heroku-20 stack
-----> Using buildpack: github.com/jincod/dotnetcore-build...
-----> Core .NET app detected
Installing dotnet
-----> Removing old cached .NET version
-----> Fetching .NET SDK
-----> Fetching .NET Runtime
-----> Export dotnet to Path
-----> Project File
/tmp/build_2b8f36bf/SkyQR.csproj
-----> Project Name
SkyQR
publish /tmp/build_2b8f36bf/SkyQR.csproj for Release on heroku_output
Welcome to .NET 6.0!
SDK Version: 6.0.201
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only).
Use 'dotnet --help' to see available commands or visit: aka.ms/dotnet-cli
Microsoft (R) Build Engine version 17.1.0+ae57d105c for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
Determining projects to restore...
Restored /tmp/build_2b8f36bf/SkyQR.csproj (in 5.27 sec).
SkyQR -> /tmp/build_2b8f36bf/bin/Release/net6.0/linux-x64/SkyQR.dll
/usr/bin/sh: 2: /tmp/tmp4cf9164d7b7042719df0c7cd48e78bf8.exec.cmd: npm: not found
/tmp/build_2b8f36bf/SkyQR.csproj(35,5): error MSB3073: The command "npm run build" exited with code 127.
! Push rejected, failed to compile Core .NET app.
! Push failed
I figured it out
pls follow this mans instructions creating a container faun.pub/deploy-net-core-api-to-he...
big shout out!!!!
note the the cli expects mcr.microsoft.com/dotnet/aspnet:6.0 for dotnet 6.0
Yay its now working ...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Quick question, how would i deploy from github to Heroku currently i tried using the following buildpack but no joy github.com/jincod/dotnetcore-build...
Log follows
-----> Building on the Heroku-20 stack
-----> Using buildpack: github.com/jincod/dotnetcore-build...
-----> Core .NET app detected
I figured it out
pls follow this mans instructions creating a container
faun.pub/deploy-net-core-api-to-he...
big shout out!!!!
note the the cli expects mcr.microsoft.com/dotnet/aspnet:6.0 for dotnet 6.0
Yay its now working ...