Limited access to git
I am using GitLab, if that matters.
Is it possible to limit the content that a given deploy key can access? I'm building my project in Laravel, and for all developments there's access to every necessary file of course.
However I would like to limit the files that the production server can access. For example I want to prevent access to packages.json
and all .vue
and .scss
files since what's needed are the compiled files.
Any good suggestions to this, which is easy to maintain?