Closed eed3si9n closed 9 years ago
Follow README and make a minimal project without name or organization set:
import com.typesafe.sbt.site.PamfletSupport._ lazy val root = (project in file(".")) .settings( site.settings, site.pamfletSupport(), ghpages.settings, git.remoteRepo := "git@github.com:sbt/sbt.github.com.git" )
Publish to gh-pages. Let's call this scala-sbt.org.
scala-sbt.org
Make another project with different content. baz.com. Publish to gh-pages.
baz.com
The content of baz.com is published to scala-sbt.org.
organization
name
/path/to/tmpdirectory mentioned in the README is actually
/path/to/tmpdirectory
repository <<= (name,organization) apply ((n,o) => file(System.getProperty("user.home")) / ".sbt" / "ghpages" / o / n),
In my case both bar.com and baz.com would have ~/.sbt/ghpages/root/root.
~/.sbt/ghpages/root/root
0.5.4 should fix this issue.
:fireworks:
steps
Follow README and make a minimal project without name or organization set:
Publish to gh-pages. Let's call this
scala-sbt.org
.Make another project with different content.
baz.com
. Publish to gh-pages.problem
The content of
baz.com
is published toscala-sbt.org
.expectation
baz.com
is published tobaz.com
.organization
andname
are used, document it on README.notes
/path/to/tmpdirectory
mentioned in the README is actuallyIn my case both bar.com and baz.com would have
~/.sbt/ghpages/root/root
.