.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
- make build-manual - make build-manual
- mkdir -p public - mkdir -p public
- cp -ar tmp/en-US/html/* public - cp -ar html/* public
- cp -ar tmp/en-US/html/master.html public/index.html - cp -ar html/master.html public/index.html
tags: tags:
- shared - shared
only: only:

View file

@ -13,10 +13,10 @@ build-snippets:
src/*.c src/*.cpp src/*.java src/*.py src/*.go src/*.sh src/*.c src/*.cpp src/*.java src/*.py src/*.go src/*.sh
build-manual: build-snippets 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 build-manual-html: build-manual
cd en-US && asciidoctor -n master.adoc
build-manual-epub: build-snippets build-manual-epub: build-snippets
false false
@ -25,6 +25,6 @@ build-manual-pdf: build-snippets
false false
clean: clean-src clean: clean-src
-rm -rf tmp -rm -rf html
-rm -rf en-US/*/snippets -rm -rf en-US/*/snippets