1
0
Fork 0
liza/.gitlab-ci.yml

34 lines
641 B
YAML

image: node:4
stages:
- build
- deploy
before_script:
- apt-get update
- apt-get -y install --no-install-recommends texinfo texlive-latex-base
build:
stage: build
script:
- autoreconf -fvi
- ./configure --with-srcuri="$SRCURI"
- npm install
- make all check info pdf html
artifacts:
paths:
- doc/
expire_in: 30 min
pages:
stage: deploy
script:
- mkdir -p public/doc
- mv doc/liza.html/* doc/liza.pdf doc/liza.info public/
artifacts:
paths:
- public/
expire_in: 30 min
only:
- tags