Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
feat: ignore .git and .github (#63)
* feat: ignore .git and .github

Close #57

* feat: update alpine to 3.11.0

cf. #64
  • Loading branch information
Shohei Ueda authored and GitHub committed Dec 24, 2019
1 parent d772f4e commit bdedb4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
@@ -1,4 +1,4 @@
FROM alpine:3.10.3
FROM alpine:3.11.0

RUN apk add --no-cache \
bash \
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Expand Up @@ -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
Expand Down

0 comments on commit bdedb4e

Please sign in to comment.