Skip to content

Commit

Permalink
Fix GitHub status update when repo does not end with .jl. (#1287)
Browse files Browse the repository at this point in the history
(cherry picked from commit 204ca20, PR #1287)
  • Loading branch information
fredrikekre committed Apr 10, 2020
1 parent 009640c commit d984088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deployconfig.jl
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ function post_github_status(type::S, deploydocs_repo::S, sha::S, subfolder=nothi
try
Sys.which("curl") === nothing && return
## Extract owner and repository name
m = match(r"^github.com\/(.+?)\/(.+?\.jl)(.git)?$", deploydocs_repo)
m = match(r"^github.com\/(.+?)\/(.+?)(.git)?$", deploydocs_repo)
m === nothing && return
owner = String(m.captures[1])
repo = String(m.captures[2])
Expand Down

0 comments on commit d984088

Please sign in to comment.