.gitlab-ci.yml: corrected copy of generated files

Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
This commit is contained in:
Nikos Mavrogiannopoulos 2018-02-05 08:30:57 +01:00
parent 20d94de4ec
commit 161b3a786e
2 changed files with 6 additions and 6 deletions

View file

@ -6,8 +6,8 @@ pages:
- make
- make build-manual
- mkdir -p public
- cp -ar tmp/en-US/html/* public
- cp -ar tmp/en-US/html/master.html public/index.html
- cp -ar html/* public
- cp -ar html/master.html public/index.html
tags:
- shared
only:

View file

@ -13,10 +13,10 @@ build-snippets:
src/*.c src/*.cpp src/*.java src/*.py src/*.go src/*.sh
build-manual: build-snippets
cd en-US && asciidoctor -n master.adoc
rm -rf html && mkdir html
cd en-US && asciidoctor -n master.adoc -D ../html && cp -ar Common_Content/ ../html/
build-manual-html: build-snippets
cd en-US && asciidoctor -n master.adoc
build-manual-html: build-manual
build-manual-epub: build-snippets
false
@ -25,6 +25,6 @@ build-manual-pdf: build-snippets
false
clean: clean-src
-rm -rf tmp
-rm -rf html
-rm -rf en-US/*/snippets