Estimated Reading Time: 1 min
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.
We also have a couple of code examples and sample projects available, that make it easier to get started with Codeship.