From f818bf678e60e41790da1fca0b8e21e847c2dc4b Mon Sep 17 00:00:00 2001 From: rschoene <rene.schoene@tu-dresden.de> Date: Thu, 28 Jan 2021 18:06:34 +0100 Subject: [PATCH] change to dist directory in repo (not in "/") --- .gitlab-ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 11044ef..920e03b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -49,12 +49,14 @@ ragdoc_view: - ragdoc_build script: - DATA_DIR=$(pwd -P)/data + - OUTPUT_DIR=$(pwd -P)/dist - cd /ragdoc-view - ( 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: paths: - - "/dist/" + - "dist/" pages: image: python:3.7-alpine @@ -65,7 +67,7 @@ pages: - pip install -U sphinx sphinx-rtd-theme recommonmark sphinxemoji sphinx-markdown-tables script: - mkdir -p pages/_static/ragdoc - - cp -a /dist/* pages/_static/ragdoc/ + - cp -a dist/* pages/_static/ragdoc/ - sphinx-build -b html pages/ public artifacts: paths: -- GitLab