From 7f5183ca2693ab0c609c04326e56c9c7548bb5b5 Mon Sep 17 00:00:00 2001 From: Marc Cataford Date: Mon, 29 Jul 2024 20:23:56 -0400 Subject: [PATCH] fix: ensure that config is squashed from repository on start --- start-action-runner.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/start-action-runner.sh b/start-action-runner.sh index de9f669..f602a84 100755 --- a/start-action-runner.sh +++ b/start-action-runner.sh @@ -13,6 +13,7 @@ rm forgejo-runner.asc if [ -f "$FORGEJO_RUNNER_ROOT/.runner" ]; then echo "Found runner state." ( + cp ./config.yml "$FORGEJO_RUNNER_ROOT/config.yml" cd "$FORGEJO_RUNNER_ROOT" || exit "$FORGEJO_RUNNER_ROOT"/forgejo-runner --config "${FORGEJO_RUNNER_CONFIG:=./config.yml}" daemon & )