From fcedc2d02cc381d2c8d1f308705efd4dca2f66cf Mon Sep 17 00:00:00 2001 From: Ahmad Husen Date: Sun, 30 May 2021 14:05:13 +0700 Subject: [PATCH] feat(container): copy .git to /tmp folder --- entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 8282132..63708c6 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -4,7 +4,8 @@ echo '::group::Copying file from $WORKPATH to /tmp/gh-action' WORKPATH=./$INPUT_PATH # Set path permision -sudo -u builder cp -fv $WORKPATH/PKGBUILD /tmp/gh-action +sudo -u builder cp -rfv ./.git /tmp/gh-action/.git +sudo -u builder cp -fv $WORKPATH/PKGBUILD /tmp/gh-action/PKGBUILD cd /tmp/gh-action echo '::endgroup::'