diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9604191da5cf9f59c2f784556ac5bbc6792fdf6b..94a7d771f4e5c3d6953f7f6fd87f9923d5313f09 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,22 +21,28 @@ doc: script: - export LC_ALL=$(locale -a | grep en_US) - export LANG=$(locale -a | grep en_US) + - python3 setup.py install - python3 setup.py build_sphinx + artifacts: + paths: + - public + +# - python3 setup.py build_sphinx # TODO: Replace the task doc by the following task pages when making the # project public # -#pages: -# image: registry.gitlab.lis-lab.fr:5005/dev/multimodal/ubuntu:18.04 -# tags: -# - docker -# only: -# - master -# script: -# - export LC_ALL=$(locale -a | grep en_US) -# - export LANG=$(locale -a | grep en_US) -# - python3 setup.py build_sphinx -# - cp -r build/sphinx/html public -# artifacts: -# paths: -# - public +pages: + image: registry.gitlab.lis-lab.fr:5005/dev/multimodal/ubuntu:18.04 + tags: + - docker + only: + - master + script: + - export LC_ALL=$(locale -a | grep en_US) + - export LANG=$(locale -a | grep en_US) + - python3 setup.py build_sphinx + - cp -r build/sphinx/html public + artifacts: + paths: + - public