# Skip builds when changing docs only?

**URL:** <https://travis-ci.community/t/skip-builds-when-changing-docs-only/8513>\
**Category:** Travis CI Discussions & Feedback\
**Tags:** build-env\
**Created:** [May 8, 2020, 8:27am UTC](https://travis-ci.community/t/skip-builds-when-changing-docs-only/8513 "2020-05-08T08:27:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mstormi](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/mstormi/32/4437_2.png) [@mstormi](https://travis-ci.community/u/mstormi)\
**Post date:** [May 8, 2020, 8:27am UTC](https://travis-ci.community/t/skip-builds-when-changing-docs-only/8513/1 "2020-05-08T08:27:28Z")

</div>

Hi, I’d like to skip Travis builds when I update specific files such as those to be documentation.  
I know of the [skip ci] commit message feature, but few do. So I’d like to define files or dirs to be ignored when Travis decides to build. Is such a feature available? Think green IT, it’ll also lower your server load.

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [May 8, 2020, 8:04pm UTC](https://travis-ci.community/t/skip-builds-when-changing-docs-only/8513/2 "2020-05-08T20:04:00Z")

</div>

Duplicate of

> [@How to skip jobs based on the files changed in a subdirectory?](https://travis-ci.community/t/how-to-skip-jobs-based-on-the-files-changed-in-a-subdirectory/2979):
>
> I am working at a company who use the monorepo pattern to store their code. Each sub project has its own test and deploy job so every push to this repo will blindly test and deploy all the projects. In order to reduce build times I would like to only build the projects within which files have changed. Sadly this does not seem to be possible using the Travis conditional syntax as that only works on prefixed meta data (such as the branch name etc). Ideally I would be able to run a script, as earl…
