From 9f391da73d496cfd381b1bd55070512e5c462a0a Mon Sep 17 00:00:00 2001 From: Mark Felder Date: Wed, 2 Jun 2021 12:09:41 -0500 Subject: [PATCH] Don't generate new specs unless they've changed. --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8b2f11153..b155c81bd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -47,6 +47,10 @@ build: spec-build: stage: test + only: + changes: + - "lib/pleroma/web/api_spec/**/*.ex" + - "lib/pleroma/web/api_spec.ex" artifacts: paths: - spec.json -- 2.45.2