mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-23 19:30:57 -05:00
make forgejo-runner.sh run out of the source directory
it needs to find the default config file
This commit is contained in:
parent
37e5096b0d
commit
a2d04e1ca5
1 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,8 @@
|
|||
|
||||
set -ex
|
||||
|
||||
: ${FORGEJO_RUNNER_CONFIG:=$(pwd)/runner-config.yaml}
|
||||
SELF_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
: ${FORGEJO_RUNNER_CONFIG:=$SELF_DIR/runner-config.yaml}
|
||||
|
||||
function dependencies() {
|
||||
if ! which curl daemon > /dev/null ; then
|
||||
|
|
Loading…
Reference in a new issue