Skip to content

Commit 0ea7d5d

Browse files
committed
github-actionify: fix badge when newly added
Signed-off-by: Jan Eglinger <jan.eglinger@gmail.com>
1 parent 6d70170 commit 0ea7d5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github-actionify.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ EOL
279279
update README.md 'GitHub Action: fix README.md badge link'
280280
else
281281
info "Adding GitHub Action badge to README.md"
282-
echo "[![SciJava CI](https://$domain/$repoSlug/actions/$gitactionConfig/badge.svg)](https://$domain/$repoSlug/actions/$gitactionConfig)/g" README.md >"$tmpFile"
282+
echo "[![SciJava CI](https://$domain/$repoSlug/actions/$gitactionConfigRoot/badge.svg)](https://$domain/$repoSlug/actions/$gitactionConfigRoot)" >"$tmpFile"
283283
echo >>"$tmpFile"
284284
test -f README.md && cat README.md >>"$tmpFile"
285285
update README.md 'GitHub Action: add badge to README.md'

0 commit comments

Comments
 (0)