Don't generate new specs unless they've changed.

This commit is contained in:
Mark Felder 2021-06-02 12:09:41 -05:00
parent e06466a532
commit 9f391da73d
1 changed files with 4 additions and 0 deletions

View 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