Commit 47b1ea6d authored by Erwan Bousse's avatar Erwan Bousse
Browse files

CI: only trigger jobs when relevant changes occur

parent fd9b3275
......@@ -10,6 +10,11 @@ stages:
- deploy
build:
only:
changes:
- src/**
- demo/**
- compile.sh
stage: build
script:
- bash ./compile.sh
......@@ -23,8 +28,13 @@ build:
- css/theme/stereopticon.css
pages:
only:
- master
only:
changes:
- src/**
- demo/**
- compile.sh
refs:
- master
dependencies:
- build
stage: deploy
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment