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