I want to exploit github as private maven repo for personal use. However, when publishing packaged artifact sbt complains
java.io.IOException: Access to URL ... was refused by the server: Forbidden
My build.sbt content
publishTo := Some("Github Repo" at "https://github.com/myaccount/mvn-repo") credentials += Credentials("Github Repo Manager", "host", "user", "pass")
Searching on the internet and scala user forum do not find solution. How can I publish artifact jar file to github using SBT?