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

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