summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2021-06-02 12:09:41 -0500
committerMark Felder <feld@feld.me>2021-06-02 12:09:41 -0500
commit9f391da73d496cfd381b1bd55070512e5c462a0a (patch)
tree9d13dae68b89de11f8e5943d032ed31cb8ce1001 /.gitlab-ci.yml
parente06466a5327ca2fa3cb7abd5f130c0a8a6b6fe27 (diff)
Don't generate new specs unless they've changed.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files changed, 4 insertions, 0 deletions
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