fix: ensure that config is squashed from repository on start
This commit is contained in:
parent
7d8c24d18e
commit
7f5183ca26
1 changed files with 1 additions and 0 deletions
|
@ -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 &
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue