Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

GitHub Tutorials: Builds only when specific directories have code changes include / exclude

Explanation:

  • on.push.paths: Specifies the directories/files that should trigger the workflow. In this case, changes in the src/ or scripts/ directories will trigger the build.
  • on.push.paths-ignore: Specifies the directories/files that should not trigger the workflow. If changes are only in the docs/ or tests/ directories, the build will be skipped.
Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x