Skip to content

Commit cbdb69f

Browse files
committed
feat: ignore .git and .github
Close #57
1 parent d772f4e commit cbdb69f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ elif git clone --depth=1 --single-branch --branch "${remote_branch}" "${remote_r
9292
git rm -r --ignore-unmatch '*'
9393
fi
9494

95-
find "${GITHUB_WORKSPACE}/${PUBLISH_DIR}" -maxdepth 1 | \
95+
find "${GITHUB_WORKSPACE}/${PUBLISH_DIR}" -maxdepth 1 -not -name ".git" -not -name ".github" | \
9696
tail -n +2 | \
9797
xargs -I % cp -rf % "${local_dir}/"
9898
else

0 commit comments

Comments
 (0)