Build releases only on tags or develop

Needed so we could push documentation updates to master without
triggering a rebuild
This commit is contained in:
rinpatch 2019-06-29 12:29:12 +03:00
parent c82024adcb
commit ee79c67081

View file

@ -148,7 +148,7 @@ amd64:
# TODO: Replace with upstream image when 1.9.0 comes out # TODO: Replace with upstream image when 1.9.0 comes out
image: rinpatch/elixir:1.9.0-rc.0 image: rinpatch/elixir:1.9.0-rc.0
only: &release-only only: &release-only
- master@pleroma/pleroma - tags
- develop@pleroma/pleroma - develop@pleroma/pleroma
artifacts: &release-artifacts artifacts: &release-artifacts
name: "pleroma-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA-$CI_JOB_NAME" name: "pleroma-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA-$CI_JOB_NAME"