Skip to content
Snippets Groups Projects
Commit 818389b9 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

add rules only main for prod

parent b0b46fa8
No related branches found
No related tags found
No related merge requests found
Pipeline #115446 failed with stages
in 3 minutes and 19 seconds
...@@ -126,6 +126,8 @@ delete-meili-helm-release: ...@@ -126,6 +126,8 @@ delete-meili-helm-release:
-r data/refseq_res.csv -r data/refseq_res.csv
update-refseq-index:dev: update-refseq-index:dev:
rules:
- if: $CI_COMMIT_BRANCH != "main"
extends: .update-refseq-index extends: .update-refseq-index
needs: needs:
- deploy:meilisearch:dev - deploy:meilisearch:dev
...@@ -134,6 +136,8 @@ update-refseq-index:dev: ...@@ -134,6 +136,8 @@ update-refseq-index:dev:
update-refseq-index:prod: update-refseq-index:prod:
rules:
- if: $CI_COMMIT_BRANCH == "main"
extends: .update-refseq-index extends: .update-refseq-index
needs: needs:
- deploy:meilisearch:prod - deploy:meilisearch:prod
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment