Git LFS workaround
Currently, Buddy does not support the Git LFS extension natively. However, you can still work with repositories that require this extension to download files.
Follow these steps:
- Add the Local Shell action to your pipeline.
- Go to the Environment tab and enter these commands in the terminal in the Environment section:
bashapt-get update apt-get -y install git curl curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash apt-get -y install git-lfs
$$$$$
- Switch to the Run tab and enter these commands in the terminal:
bashssh-keyscan -H github.com > /root/.ssh/known_hosts git lfs pull git@github.com:ACCOUNT_NAME/PROJECT.git
$$$
- Click Add this action to save the changes and add the action to your pipeline.
- Go to the Variables tab, open
id_project
and copy the public key. - Add the copied public key to the project in your Git provider.
Last modified on Sep 23, 2024