Skip to content

GitLab CI only execute when a certain folder has changed

I know this isn't an issue as such, but I don't know where else this should go...

I have quite a large project, and I'm using GitLab CI with Pages to deploy it, however, when I change anything in the repo, it runs CI. I don't want this to happen, I want it to run only if the src folder changes. Is this possible?

Thanks.