Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Skip AppVeyour build jobs for commits regarding the docs folder and subfolders

This will prevent AppVeyor from running a job, when commits are done regarding the docs directory only. It might be useful, when the projects repository contains the GitHub pages in the master branch and changes to them are not critical to the build.

skip_commits:
  files:
    - docs/**/*

I further exclude some other files too. This is my minimal list

skip_commits:
  files:
    - .gitignore
    - .gitattributes
    - .travis.yml
    - docs/**/*
    - README.md # if not already in moved to the docs folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment