diff --git a/Dockerfile b/Dockerfile index b666dc7..6c78d99 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.10.3 +FROM alpine:3.11.0 RUN apk add --no-cache \ bash \ diff --git a/entrypoint.sh b/entrypoint.sh index 9608097..b4d9d59 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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