From 870dc58266ec6bf8d9a22a77f59fa70e0b9c3055 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Thu, 30 Mar 2023 09:11:45 +0200 Subject: [PATCH] FORGEJO_URL because github.server_url is empty --- forgejo-test-helper.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/forgejo-test-helper.sh b/forgejo-test-helper.sh index bad0b6d..e2cd4b0 100755 --- a/forgejo-test-helper.sh +++ b/forgejo-test-helper.sh @@ -51,7 +51,10 @@ function push() { local workflows=$dir/.forgejo/workflows/*.yml if test "$(echo $workflows)" != "$workflows"; then - sed -i -e "s|SELF|$url/$owner/$self_action|" $dir/.forgejo/workflows/*.yml + sed -i \ + -e "s|SELF|$url/$owner/$self_action|" \ + -e "s|FORGEJO_URL|$url|" \ + $dir/.forgejo/workflows/*.yml fi ( cd $dir