From f1fa2c58c50f093fcb5c1d016a92f575bb0d0fc7 Mon Sep 17 00:00:00 2001 From: Miguel Angel Reina Ortega <miguelangel.reinaortega@etsi.org> Date: Wed, 29 Nov 2023 10:28:18 +0100 Subject: [PATCH] Fix for first run for pages --- 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 94b0311..c7d3082 100644 --- a/publish_on_pages.sh +++ b/publish_on_pages.sh @@ -19,9 +19,9 @@ if [ $6 == 'true' ]; then echo 'Removing all web pages content...' rm -r public/*; elif [ $6 == 'false' ]; then - ls public/ mkdir -p "public/$4" - cp -r -f "$3_$4.docx" public/$4 + ls public/ + cp -r -f "$3_$4.docx" public/$4 docker run --rm -v $(pwd):/tmp -w /tmp "$DOCKER_IMAGE" pip install bs4 && python3 $1 "$3_$4" "$4/$3_$4.docx" "$5" else echo 'Removing entry for ' $6 -- GitLab