Commit 8f2074a0 authored by Serafino Pirronitto's avatar Serafino Pirronitto
Browse files

Using docker run instead of images since gitlab-runner is set to shell executor

parent a55f7c6f
Loading
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -41,9 +41,8 @@ html:
  stage: build_html
  before_script:
    - 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
    - docker run -v ./:/data pandoc/latex:3.1.13-alpine /bin/sh -c "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