diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 06c972e87efe477c4b5a4ff5546063cfb204b6b1..e54193d7392d734dded1499c631adbe4c3c1a2bd 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: