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. (#29898)

(cherry picked from commit 648c369)
  • Loading branch information
fredrikekre authored and KristofferC committed Feb 11, 2019
1 parent 3939278 commit 66194ad
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 66194ad

Please sign in to comment.