always allow workflows to mount /srv/example
because it is generally useful to store informations about how the workflow ran
This commit is contained in:
parent
11bf9b45c7
commit
b63144cb0d
11 changed files with 30 additions and 50 deletions
|
@ -1,8 +1,2 @@
|
|||
if test $(id -u) != 0 ; then
|
||||
SUDO=sudo
|
||||
fi
|
||||
mkdir -p /srv/example/pull-request
|
||||
|
||||
$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