-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add git LFS support. #37
Conversation
Please see #36 for details. |
Hey @pavelpokutnev, thanks for your contribution. Well appreciated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a small review.
@@ -9,6 +9,11 @@ if [[ "$INPUT_ADOC_FILE_EXT" != .* ]]; then | |||
INPUT_ADOC_FILE_EXT=".$INPUT_ADOC_FILE_EXT"; | |||
fi | |||
|
|||
# Install git-lfs since it is not in Alpine base image. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the second option you mentioned in #36 is better, since we can provide a docker image with everything installed and reduce the code of entrypoint.sh
.
The apk add openssh-client
in that script could even be moved there too, but that is another issue.
asciidoctor-ghpages-action/entrypoint.sh
Line 13 in 7bcb8c6
apk add openssh-client -q > /dev/null |
Hey @pavelpokutnev |
I've just merged it. Thanks for the contribution. |
I've just moved software installation to the Dockerfile: Check 60643a4 |
Close #36
Adds the support for git repositories with LFS enabled. Since the Alpine base image doesn't include the git-lfs package, we do the installation of git-lfs in the entrypoint.sh.