prepare gitlab-ci for publishing pages

This commit is contained in:
Óscar Nájera 2018-05-01 23:33:17 +02:00
parent 9782b9c2ba
commit 9997c83f7f

View file

@ -1,8 +1,13 @@
image: najeraoscar/latex-emacs-min image: najeraoscar/latex-emacs-min
variables:
GIT_SUBMODULE_STRATEGY: recursive
before_script:
- ./installs.sh
test: test:
script: script:
- ./installs.sh
- emacs --batch -Q --script genfiles.el - emacs --batch -Q --script genfiles.el
- cd doc; hugo - cd doc; hugo
except: except:
@ -11,3 +16,14 @@ test:
artifacts: artifacts:
paths: paths:
- doc/public - doc/public
pages:
script:
- emacs --batch -Q --script genfiles.el
- cd doc; hugo
- mv doc/public/ public/
artifacts:
paths:
- public
only:
- master