From 2198b73620b881748c7e5fb67b7a40e2c8e7bd14 Mon Sep 17 00:00:00 2001 From: ROSPARS Benoit Date: Thu, 14 Feb 2019 14:15:24 +0100 Subject: [PATCH] CI : specify artifacts by module --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2d88ce5..d225a21 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,10 +6,12 @@ build: stage: build script: - for file in $(find -name "*.org"); do emacs --batch --load /emacs/export.el --file $file --eval '(org-html-export-to-html)' &> /dev/null || echo "Exported $file"; done - - find -name "*.html" -exec mv -t public {} + artifacts: expire_in: 1 day paths: - - public/*.html + - module1/ressources/*.html + - module2/ressources/*.html + - module3/ressources/*.html + - module4/ressources/*.html only: - ci -- 2.18.1