Skip to content

Commit

Permalink
feat: ignore .git and .github
Browse files Browse the repository at this point in the history
Close #57
  • Loading branch information
peaceiris committed Dec 22, 2019
1 parent d772f4e commit cbdb69f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
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 cbdb69f

Please sign in to comment.