From f18ab7ed44993b9513e73a25e1d98d782f3eaa64 Mon Sep 17 00:00:00 2001
From: Miguel Angel Reina Ortega <miguelangel.reinaortega@etsi.org>
Date: Thu, 28 Sep 2023 10:38:18 +0200
Subject: [PATCH] Fix ohter parameters number

---
 publish_on_pages.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/publish_on_pages.sh b/publish_on_pages.sh
index 797a285..cf52c3f 100644
--- a/publish_on_pages.sh
+++ b/publish_on_pages.sh
@@ -17,8 +17,8 @@ if [ -e "content.zip" ]; then unzip "content.zip"; rm "content.zip"; fi
 set -e
 
 echo "------ Add/update content --------"
-mkdir -p "public/$3"
-cp -r -f "$2_$3.docx" public/$3
+mkdir -p "public/$4"
+cp -r -f "$3_$4.docx" public/$3
 
 docker run --rm -u $(id -u):$(id -g) "$DOCKER_IMAGE" $1 "$3_$4" "$4/$3_$4.docx" "$5"
 #echo "<a href="${CI_COMMIT_REF_NAME}/${CI_PROJECT_NAME}_${CI_COMMIT_TAG}.docx" target="_blank">$CI_COMMIT_REF_NAME</a>" >> "public/index.html"
-- 
GitLab