Commit 2198b736 authored by brospars's avatar brospars

CI : specify artifacts by module

parent b0237e6c
...@@ -6,10 +6,12 @@ build: ...@@ -6,10 +6,12 @@ build:
stage: build stage: build
script: 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 - 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: artifacts:
expire_in: 1 day expire_in: 1 day
paths: paths:
- public/*.html - module1/ressources/*.html
- module2/ressources/*.html
- module3/ressources/*.html
- module4/ressources/*.html
only: only:
- ci - ci
Markdown is supported
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