re-use forgejo-url

This commit is contained in:
Earl Warren 2023-12-19 18:07:00 +01:00
parent 82e6d3ec27
commit 372b23108c
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -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