.gitlab-ci.yml: Optimize build process

Signed-off-by: Niels Thykier's avatarNiels Thykier <niels@thykier.net>
parent 61968e38
......@@ -12,12 +12,11 @@ tests-unstable-html:
script:
- apt-get update
- apt-get build-dep --build-profiles 'pkg.release-notes.nopdf' -y .
- mkdir html
- make all publish FORMATS=html PUBLISHDIR=html USE_SYMLINK=no
- make publish PUBLISHDIR=html USE_SYMLINK=no
- mkdir html-output
- make publish FORMATS=html PUBLISHDIR=html-output USE_SYMLINK=no
artifacts:
paths:
- html
- html-output
pages:
stage: deploy
......@@ -26,7 +25,7 @@ pages:
script:
- rm -fr public
- mkdir public
- mv html/* public/
- mv html-output/* public/
artifacts:
paths:
- public
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment