fix: set project root
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Aravinth Manivannan 2022-08-16 16:55:52 +05:30
parent 04de39596f
commit 63f77feb7b
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88

View file

@ -20,6 +20,7 @@ set -xEeuo pipefail
readonly SSH_ID_FILE=/tmp/ci-ssh-id readonly SSH_ID_FILE=/tmp/ci-ssh-id
readonly SSH_REMOTE_NAME=origin-ssh readonly SSH_REMOTE_NAME=origin-ssh
readonly PROJECT_ROOT=$(pwd)
match_arg() { match_arg() {
if [ $1 == $2 ] || [ $1 == $3 ] if [ $1 == $2 ] || [ $1 == $3 ]