You will need about one minute to read this article.
Git LFS is not natively supported on Codeship, although we do provide a script that may conditionally allow Git LFS to be usable in your builds.
You will need to run this script inside a container with both Git and Git LFS installed via the Dockerfile.
This container will also need to mount your entire cloned repository as volume in your codeship-services.yml file, such as:
app: image: alpine:3.6 volumes: - .:/data/
Within the container, in this
app using an Alpine base image, you can then run
git lfs fetch and
git lfs checkout to get the files stored via LFS.
Do you think we need to improve this article? If so, please submit our feedback form to help us improve this article!