Skip to content

Commit cf2b552

Browse files
committed
Fix EditURL when running with GitHub Actions.
1 parent 123e4bf commit cf2b552

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Literate.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ function markdown(inputfile, outputdir; preprocess = identity, postprocess = ide
361361
# run some Documenter specific things
362362
if documenter
363363
# change the Edit on GitHub link
364-
repo = get(ENV, "TRAVIS_REPO_SLUG", nothing)
364+
repo = get(ENV, "TRAVIS_REPO_SLUG", get(ENV, "GITHUB_REPOSITORY", nothing))
365365
if repo === nothing
366366
path = ""
367367
else

0 commit comments

Comments
 (0)