Skip to content
Snippets Groups Projects
Commit f1fa2c58 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Fix for first run for pages

parent 51b72bc6
No related branches found
No related tags found
No related merge requests found
...@@ -19,8 +19,8 @@ if [ $6 == 'true' ]; then ...@@ -19,8 +19,8 @@ if [ $6 == 'true' ]; then
echo 'Removing all web pages content...' echo 'Removing all web pages content...'
rm -r public/*; rm -r public/*;
elif [ $6 == 'false' ]; then elif [ $6 == 'false' ]; then
ls public/
mkdir -p "public/$4" mkdir -p "public/$4"
ls public/
cp -r -f "$3_$4.docx" public/$4 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" docker run --rm -v $(pwd):/tmp -w /tmp "$DOCKER_IMAGE" pip install bs4 && python3 $1 "$3_$4" "$4/$3_$4.docx" "$5"
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment