Run pipeline only if hosted/ folder has changed
Currently, pipelines are being executed for this project whenever any kind of commit is pushed to master
, which usually takes 11-12 minutes.
However, the script that .gitlab-ci.yml
runs (specscript.rb
) is only relevant if the some specific folders are added/changed/removed from the hosted
folder.
Let's change the script to only run if the hosted
folder has changed.
Related:
Edited by Pedro Moreira da Silva