Skip to content

Instantly share code, notes, and snippets.

@dleidert
Created February 26, 2019 18:32
Show Gist options
  • Save dleidert/eb94868443fbfd58f6cac5df033342f2 to your computer and use it in GitHub Desktop.
Save dleidert/eb94868443fbfd58f6cac5df033342f2 to your computer and use it in GitHub Desktop.
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