From 372b23108ce8c5a89446bbe59fca474c2676de3e Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Tue, 19 Dec 2023 18:07:00 +0100 Subject: [PATCH] re-use forgejo-url --- forgejo-runner.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forgejo-runner.sh b/forgejo-runner.sh index 12a820e..ef1a07e 100755 --- a/forgejo-runner.sh +++ b/forgejo-runner.sh @@ -60,7 +60,7 @@ function setup() { local runner_repository="${1:-${default_runner_repository}}" local default_version="$(cat $SELF_DIR/RUNNER_VERSION)" local version="${2:-${default_version}}" - local forgejo="${3:-http://$(cat $DIR/forgejo-ip):3000/}" + local forgejo="${3:-$(cat $DIR/forgejo-url)}" dependencies if [[ "$version" =~ ^@ ]] ; then