Build releases only on tags or develop
authorrinpatch <rinpatch@sdf.org>
Sat, 29 Jun 2019 09:29:12 +0000 (12:29 +0300)
committerrinpatch <rinpatch@sdf.org>
Sat, 29 Jun 2019 09:29:12 +0000 (12:29 +0300)
Needed so we could push documentation updates to master without
triggering a rebuild

.gitlab-ci.yml

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