Loading .gitlab-ci.yml +2 −12 Changes for .gitlab-ci.yml: 2 added lines, 12 removed lines. Original line number Diff line number Diff line Loading @@ -15,7 +15,6 @@ variables: generate_temp_docx: stage: preprocessing image: python:3.10-slim before_script: - pip3 install python-docx #install dependances script: Loading @@ -28,10 +27,6 @@ generate_temp_docx: images_extraction: stage: preprocessing image: name: ubuntu:latest before_script: - apt-get update && apt-get install pandoc -y && apt-get install imagemagick -y && apt-get --no-install-recommends install libreoffice -y #install tools script: - pandoc --extract-media ./ -f docx -t html -s API.docx -o API.html after_script: Loading @@ -44,21 +39,17 @@ images_extraction: html: stage: build_html image: name: pandoc/latex:3.1.13-alpine entrypoint: ["sh"] before_script: - docker --version - docker pull pandoc/latex:3.1.13-alpine - docker run -it -v ./:/data --entrypoint "/bin/sh" pandoc/latex:3.1.13-alpine script: - pandoc --extract-media ./ -f docx -t html -L filter_1.lua -L filter_2.lua --css=styling.css --css=API.css -s temp.docx -o API.html --toc --toc-depth 4 --template=template.html artifacts: paths: - API.html docx: stage: build_docx image: python:3.10-slim dependencies: - "html" before_script: Loading @@ -73,7 +64,6 @@ docx: pages: stage: deploy image: bitnami/git dependencies: - "docx" script: Loading Loading
.gitlab-ci.yml +2 −12 Changes for .gitlab-ci.yml: 2 added lines, 12 removed lines. Original line number Diff line number Diff line Loading @@ -15,7 +15,6 @@ variables: generate_temp_docx: stage: preprocessing image: python:3.10-slim before_script: - pip3 install python-docx #install dependances script: Loading @@ -28,10 +27,6 @@ generate_temp_docx: images_extraction: stage: preprocessing image: name: ubuntu:latest before_script: - apt-get update && apt-get install pandoc -y && apt-get install imagemagick -y && apt-get --no-install-recommends install libreoffice -y #install tools script: - pandoc --extract-media ./ -f docx -t html -s API.docx -o API.html after_script: Loading @@ -44,21 +39,17 @@ images_extraction: html: stage: build_html image: name: pandoc/latex:3.1.13-alpine entrypoint: ["sh"] before_script: - docker --version - docker pull pandoc/latex:3.1.13-alpine - docker run -it -v ./:/data --entrypoint "/bin/sh" pandoc/latex:3.1.13-alpine script: - pandoc --extract-media ./ -f docx -t html -L filter_1.lua -L filter_2.lua --css=styling.css --css=API.css -s temp.docx -o API.html --toc --toc-depth 4 --template=template.html artifacts: paths: - API.html docx: stage: build_docx image: python:3.10-slim dependencies: - "html" before_script: Loading @@ -73,7 +64,6 @@ docx: pages: stage: deploy image: bitnami/git dependencies: - "docx" script: Loading