diff --git a/publish_on_pages.sh b/publish_on_pages.sh index 94b0311205fe9cdab2e64159c683cfff603d4b01..c7d30822b8685bbeff51f403d43bf212b7e16e28 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