Skip to content
Snippets Groups Projects
Commit d446176d authored by René Schöne's avatar René Schöne
Browse files

use target directory of html file generation directly

parent f818bf67
No related branches found
No related tags found
No related merge requests found
......@@ -49,14 +49,15 @@ ragdoc_view:
- ragdoc_build
script:
- DATA_DIR=$(pwd -P)/data
- OUTPUT_DIR=$(pwd -P)/dist
- mkdir -p pages/_static/ragdoc
- OUTPUT_DIR=$(pwd -P)/pages/_static/ragdoc
- cd /ragdoc-view
- ( cd src/ && rm -rf data && ln -s $DATA_DIR )
- /ragdoc-view/build-view.sh --output-path=$OUTPUT_DIR
- ls -lah dist/
- ls -lah $OUTPUT_DIR
artifacts:
paths:
- "dist/"
- "pages/_static/ragdoc"
pages:
image: python:3.7-alpine
......@@ -66,8 +67,6 @@ pages:
before_script:
- pip install -U sphinx sphinx-rtd-theme recommonmark sphinxemoji sphinx-markdown-tables
script:
- mkdir -p pages/_static/ragdoc
- cp -a dist/* pages/_static/ragdoc/
- sphinx-build -b html pages/ public
artifacts:
paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment