Skip to content

Commit bdedb4e

Browse files
authored
feat: ignore .git and .github (#63)
* feat: ignore .git and .github Close #57 * feat: update alpine to 3.11.0 cf. #64
1 parent d772f4e commit bdedb4e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:3.10.3
1+
FROM alpine:3.11.0
22

33
RUN apk add --no-cache \
44
bash \

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)