From cf2b5525507217b6552e9c36f63419eddb5df58f Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Wed, 30 Oct 2019 14:23:10 +0100 Subject: [PATCH] Fix EditURL when running with GitHub Actions. --- src/Literate.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Literate.jl b/src/Literate.jl index c64e4c9..92d6e50 100644 --- a/src/Literate.jl +++ b/src/Literate.jl @@ -361,7 +361,7 @@ function markdown(inputfile, outputdir; preprocess = identity, postprocess = ide # run some Documenter specific things if documenter # change the Edit on GitHub link - repo = get(ENV, "TRAVIS_REPO_SLUG", nothing) + repo = get(ENV, "TRAVIS_REPO_SLUG", get(ENV, "GITHUB_REPOSITORY", nothing)) if repo === nothing path = "" else