Created
November 12, 2020 23:23
-
-
Save tk3369/295ef5d58d82b126fc788e24d8c40267 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #= | |
| 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