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

change to dist directory in repo (not in "/")

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