mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-24 02:49:07 +01:00
CI: build and publish LdapSaisie.pdf file
This commit is contained in:
parent
c9114823ee
commit
22408c4475
1 changed files with 14 additions and 0 deletions
|
@ -100,6 +100,19 @@ build:doc:
|
||||||
- doc/public_html/
|
- doc/public_html/
|
||||||
- doc/LdapSaisie.html
|
- doc/LdapSaisie.html
|
||||||
|
|
||||||
|
build:doc:pdf:
|
||||||
|
stage: build
|
||||||
|
image:
|
||||||
|
name: pink33n/html-to-pdf
|
||||||
|
entrypoint: ["/bin/sh", "-c"]
|
||||||
|
needs:
|
||||||
|
- build:doc
|
||||||
|
script:
|
||||||
|
- /usr/local/bin/entrypoint --url file://$(pwd)/doc/LdapSaisie.html --pdf doc/LdapSaisie.pdf
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- doc/LdapSaisie.pdf
|
||||||
|
|
||||||
deploy:doc:
|
deploy:doc:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
|
@ -112,3 +125,4 @@ deploy:doc:
|
||||||
script:
|
script:
|
||||||
- rsync -atv --exclude '.git*' --delete --progress ./doc/public_html/ $SSH_USER@$SSH_HOST:./
|
- rsync -atv --exclude '.git*' --delete --progress ./doc/public_html/ $SSH_USER@$SSH_HOST:./
|
||||||
- rsync -atv ./doc/LdapSaisie.html $SSH_USER@$SSH_HOST:LdapSaisie.html
|
- rsync -atv ./doc/LdapSaisie.html $SSH_USER@$SSH_HOST:LdapSaisie.html
|
||||||
|
- rsync -atv ./doc/LdapSaisie.pdf $SSH_USER@$SSH_HOST:LdapSaisie.pdf
|
||||||
|
|
Loading…
Reference in a new issue