Skip to content

Commit

Permalink
Deploy docs to JuliaLang/docs.julialang.org:gh-pages instead of Julia…
Browse files Browse the repository at this point in the history
…Lang/julia:gh-pages. (JuliaLang#29898)
  • Loading branch information
fredrikekre committed Nov 9, 2018
1 parent 59f3a8f commit 648c369
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,14 @@ makedocs(
# Only deploy docs from 64bit Linux to avoid committing multiple versions of the same
# docs from different workers.
if "deploy" in ARGS && Sys.ARCH === :x86_64 && Sys.KERNEL === :Linux
# Override TRAVIS_REPO_SLUG since we deploy to a different repo
withenv("TRAVIS_REPO_SLUG" => "JuliaLang/docs.julialang.org") do
deploydocs(
repo = "github.com/JuliaLang/julia.git",
repo = "github.com/JuliaLang/docs.julialang.org.git",
target = joinpath(buildroot, "doc", "_build", "html", "en"),
dirname = "en",
devurl = "v1.1-dev",
versions = ["v#.#", "v1.1-dev" => "v1.1-dev"]
)
end
end

0 comments on commit 648c369

Please sign in to comment.