Skip to content

Commit

Permalink
Fix EditURL when running with GitHub Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre committed Oct 30, 2019
1 parent 123e4bf commit cf2b552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Literate.jl
Expand Up @@ -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
Expand Down

0 comments on commit cf2b552

Please sign in to comment.