mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-24 00:00:56 -05:00
FORGEJO_URL because github.server_url is empty
This commit is contained in:
parent
073db9062f
commit
870dc58266
1 changed files with 4 additions and 1 deletions
|
@ -51,7 +51,10 @@ function push() {
|
||||||
|
|
||||||
local workflows=$dir/.forgejo/workflows/*.yml
|
local workflows=$dir/.forgejo/workflows/*.yml
|
||||||
if test "$(echo $workflows)" != "$workflows"; then
|
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
|
fi
|
||||||
(
|
(
|
||||||
cd $dir
|
cd $dir
|
||||||
|
|
Loading…
Reference in a new issue