From d24362320282a881bd72ad2abef05b8afcc0829e Mon Sep 17 00:00:00 2001 From: shockrah Date: Sat, 13 Feb 2021 18:46:23 -0800 Subject: [PATCH] only building json on actual changes --- .gitlab-ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3d828eb..c3087c9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,8 +20,11 @@ before_script: build-json-api: # Literally so expensive that I realy just don't wanna deal with it stage: build - when: manual - only: [ "master" ] + + only: + - master + changes: + - json-api/ script: - cd json-api/