Don't generate new specs unless they've changed.
authorMark Felder <feld@feld.me>
Wed, 2 Jun 2021 17:09:41 +0000 (12:09 -0500)
committerMark Felder <feld@feld.me>
Wed, 2 Jun 2021 17:09:41 +0000 (12:09 -0500)
.gitlab-ci.yml

index 8b2f1115361b14a1e972a1ad2e5a17d56fdc8f4f..b155c81bd7efe6083d5a4e4cee319c443297e054 100644 (file)
@@ -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