From 9acb5d89b9931334fba7886750dcaafe327b4e03 Mon Sep 17 00:00:00 2001 From: creyD Date: Fri, 19 Feb 2021 18:47:01 +0100 Subject: [PATCH] Still debugging ignoring --- entrypoint.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index ef53904..0baf63f 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -69,9 +69,10 @@ if _git_changed; then _git_setup # Ignore node modules and other action created files - git update-index --skip-worktree package.json - git update-index --skip-worktree node_modules/ - git update-index --skip-worktree package-lock.json + echo "package_lock.json + node_modules/ + .gitignore + " >> .gitignore if $INPUT_ONLY_CHANGED; then # --diff-filter=d excludes deleted files