end-to-end/actions/example-pull-request/setup.sh

9 lines
249 B
Bash
Raw Normal View History

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
2023-10-28 22:29:04 +02:00
mkdir -p /srv/example-pull-request
FORGEJO_RUNNER_CONFIG=$EXAMPLE_DIR/runner-config.yaml forgejo-runner.sh reload