From 9997c83f7f760e43b768f91fc1d270f209adaf8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Tue, 1 May 2018 23:33:17 +0200 Subject: [PATCH] prepare gitlab-ci for publishing pages --- .gitlab-ci.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dec25a1..da3a0cc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,8 +1,13 @@ image: najeraoscar/latex-emacs-min +variables: + GIT_SUBMODULE_STRATEGY: recursive + +before_script: + - ./installs.sh + test: script: - - ./installs.sh - emacs --batch -Q --script genfiles.el - cd doc; hugo except: @@ -11,3 +16,14 @@ test: artifacts: paths: - doc/public + +pages: + script: + - emacs --batch -Q --script genfiles.el + - cd doc; hugo + - mv doc/public/ public/ + artifacts: + paths: + - public + only: + - master