From d182a9d69ae8a87591a820b190a24ea2582c63d7 Mon Sep 17 00:00:00 2001 From: Virgile Gerecke <virgile.gerecke@unistra.fr> Date: Tue, 13 Nov 2018 14:20:28 +0100 Subject: [PATCH] RSS generation on deploy --- .gitlab-ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b7efd60..f2d05d3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,6 @@ stages: - test + - deploy unittest: stage: test @@ -10,3 +11,18 @@ unittest: - python3 verify.py - python3 display.py +pages: + stage: deploy + script: + - pip3 install -r requirements.txt + - python3 rss.py + - mkdir target + - mv rss.xml target + - mv atom.xml target + - mv target public + artifacts: + paths: + - public + only: + - master + -- GitLab