简体   繁体   中英

Error while deploying a static website in heroku

I can not deploy a simple website which have just HTML and CSS code in heroku. Also, I have another website where I have used HTML, CSS, Javscript and Bootstrap.

The error message is: ! [remote rejected] master -> master (pre-receive hook declined)

You may have the branch restrictions in the master branch of you git repository. You need to check the repository settings of your git and then check branch permissions. If there is no one who have write access in your repository, then add the user and try again deploying the website.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM