feat: ignore .git and .github (#63)

* feat: ignore .git and .github

Close #57

* feat: update alpine to 3.11.0

cf. #64
This commit is contained in:
Shohei Ueda 2019-12-24 15:02:00 +09:00 committed by GitHub
parent d772f4e8eb
commit bdedb4ed2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM alpine:3.10.3
FROM alpine:3.11.0
RUN apk add --no-cache \
bash \

View File

@ -92,7 +92,7 @@ elif git clone --depth=1 --single-branch --branch "${remote_branch}" "${remote_r
git rm -r --ignore-unmatch '*'
fi
find "${GITHUB_WORKSPACE}/${PUBLISH_DIR}" -maxdepth 1 | \
find "${GITHUB_WORKSPACE}/${PUBLISH_DIR}" -maxdepth 1 -not -name ".git" -not -name ".github" | \
tail -n +2 | \
xargs -I % cp -rf % "${local_dir}/"
else