8 lines
249 B
Bash
Executable file
8 lines
249 B
Bash
Executable file
if test $(id -u) != 0 ; then
|
|
SUDO=sudo
|
|
fi
|
|
|
|
$SUDO rm -fr /srv/example-pull-request/{root,fork-org}
|
|
rm -fr /srv/example-pull-request
|
|
mkdir -p /srv/example-pull-request
|
|
FORGEJO_RUNNER_CONFIG=$EXAMPLE_DIR/runner-config.yaml forgejo-runner.sh reload
|