在heroku中部署HTML应用程序时出现构建错误



我已经上传了一个html应用程序在github,但同时试图部署它在heroku我得到这个错误:

No default language could be detected for this app.
HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically.
See https://devcenter.heroku.com/articles/buildpacks
!     Push failed

设置此构建包https://github.com/heroku/heroku-buildpack-static

$ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-static.git

最新更新