Skip to content

Instantly share code, notes, and snippets.

@tk3369
Created November 12, 2020 23:23
Show Gist options
  • Select an option

  • Save tk3369/295ef5d58d82b126fc788e24d8c40267 to your computer and use it in GitHub Desktop.

Select an option

Save tk3369/295ef5d58d82b126fc788e24d8c40267 to your computer and use it in GitHub Desktop.
#=
The following works with Documenter.jl 0.24.
There seems to be a breaking change in Documenter.jl 0.25 to return
something different from the `deploy_folder` function.
=#
struct MyDeployConfig <: Documenter.DeployConfig
end
Documenter.deploy_folder(cfg::MyDeployConfig;
repo, devbranch, push_preview, devurl, kwargs...) = devurl
Documenter.authentication_method(::MyDeployConfig) = Documenter.SSH
deploydocs(
repo = "github.com:<user>/<repo>.git",
deploy_config = MyDeployConfig()
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment