actions/example-pull-request: cleanup /srv/example-pull-request
This commit is contained in:
parent
13283ea0c3
commit
8358ff2372
1 changed files with 6 additions and 0 deletions
|
@ -1,2 +1,8 @@
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue