diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 59149d831b535dd3c597b511b93fe58b11c300e2..c2aad6de000b61a787cb49ec7bb58a20af2fa49c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -158,7 +158,7 @@ delete-meili-helm-release:prod: # Update Meili search indexes -.update-refseq-index: +.update-meilisearch-index: stage: update-meilisearch-indexes image: python:3.11-bullseye variables: @@ -183,20 +183,20 @@ delete-meili-helm-release:prod: --file data/all_predictions_statistics.csv --document structure -update-refseq-index:dev: +update-meilisearch-index:dev: rules: - if: $CI_COMMIT_BRANCH != "main" - extends: .update-refseq-index + extends: .update-meilisearch-index needs: - deploy:meilisearch:dev variables: MEILI_HOST: "https://${MEILI_HOST_DEV}" -update-refseq-index:prod: +update-meilisearch-index:prod: rules: - if: $CI_COMMIT_BRANCH == "main" - extends: .update-refseq-index + extends: .update-meilisearch-index needs: - deploy:meilisearch:prod variables: @@ -245,7 +245,7 @@ get-zotero: before_script: - pip install df-wiki-cli --index-url https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.pasteur.fr/api/v4/projects/5222/packages/pypi/simple script: - - df-wiki-cli articles --key ${ZOTERO_API_KEY} --output public + - df-wiki-cli articles --key ${ZOTERO_API_KEY} --output public/articles.json artifacts: paths: - public/articles.json