From fdcc5ec781d7bd91c2d20a01952f073445b5d4ac Mon Sep 17 00:00:00 2001 From: devthejo Date: Wed, 3 May 2023 01:35:51 +0200 Subject: [PATCH] fix: debugging --- .github/actions/deploy-via-github/entrypoint.sh | 2 ++ .github/actions/deploy-via-webhook/entrypoint.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/actions/deploy-via-github/entrypoint.sh b/.github/actions/deploy-via-github/entrypoint.sh index 7a4c68046c..ae2285f2ad 100755 --- a/.github/actions/deploy-via-github/entrypoint.sh +++ b/.github/actions/deploy-via-github/entrypoint.sh @@ -6,6 +6,8 @@ chmod go-r ~/.kube/config echo $KUBECONFIG_B64 | base64 -d > ~/.kube/config export KUBECONFIG=~/.kube/config +git config --global --add safe.directory $GITHUB_WORKSPACE + export KS_GIT_REPOSITORY=$GITHUB_REPOSITORY export KS_BUILD_PATH=/tmp/kontinuous-deploy-via-github diff --git a/.github/actions/deploy-via-webhook/entrypoint.sh b/.github/actions/deploy-via-webhook/entrypoint.sh index 0bd53a6c5e..4f96db6768 100755 --- a/.github/actions/deploy-via-webhook/entrypoint.sh +++ b/.github/actions/deploy-via-webhook/entrypoint.sh @@ -2,6 +2,8 @@ set -e +git config --global --add safe.directory $GITHUB_WORKSPACE + export TRIGGER_WEBHOOK=${TRIGGER_WEBHOOK:-"true"} KS_GIT=false