How to automate dvc pull request for a single file?

Hi @Somya,

Could you set the file name as an environment variable in the CI system? (Perhaps via GitLab CI/CD environment variables | GitLab if you’re using that)

Then if the env var name is FILE_NAME, you can

$ dvc pull $FILE_NAME

(from the CI job script)

Depending on your use case though, you may want to check out the dvc get or dvc import commands: https://dvc.org/doc/command-reference/get, https://dvc.org/doc/command-reference/import.