From 6e93aa107dff383e6d7753154643af684915a18a Mon Sep 17 00:00:00 2001 From: Martin Weise <martin.weise@tuwien.ac.at> Date: Thu, 25 Jan 2024 10:58:57 +0100 Subject: [PATCH] Replace in all files --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 06c972e87e..e54193d739 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -645,8 +645,8 @@ docs-latest: - git fetch && git checkout master - pip install -r ./requirements.txt - mkdir -p ./final/{latest,1.3} - - find ./.docs -type f -exec sed -i -e "s/__TAG__/latest/g" {} \; - - find ./.docs -type f -exec sed -i -e "s/__APPVERSION__/latest/g" {} \; + - find . -type f -exec sed -i -e "s/__TAG__/latest/g" {} \; + - find . -type f -exec sed -i -e "s/__APPVERSION__/latest/g" {} \; - mkdocs build && cp -r ./site ./final/latest - cp ./.docs/redirect.html ./final/index.html - cp ./.docs/redirect.html ./final/1.3/index.html @@ -706,8 +706,8 @@ docs-1.4: - pip install -r ./.docs/requirements.txt - wget https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/raw/dev/.docs/overrides/main.html -O .docs/overrides/main.html -q - mkdir -p ./final - - find .docs -type f -exec sed -i -e "s/__TAG__/${APP_VERSION}/g" {} \; - - find .docs -type f -exec sed -i -e "s/__APPVERSION__/${APP_VERSION}/g" {} \; + - find . -type f -exec sed -i -e "s/__TAG__/${APP_VERSION}/g" {} \; + - find . -type f -exec sed -i -e "s/__APPVERSION__/${APP_VERSION}/g" {} \; - mkdocs build && cp -r ./site ./final/${APP_VERSION} - cp -r ./swagger/${APP_VERSION} ./final/${APP_VERSION}/swagger cache: -- GitLab