Commit c0619534 authored by Serafino Pirronitto's avatar Serafino Pirronitto
Browse files

Update .gitlab-ci.yml file

parent acc2fa90
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -42,16 +42,16 @@ chunk_html:
  before_script:
    - docker pull pandoc/latex:3.1.13-alpine
  script:
    - docker run --entrypoint "/bin/sh" -v ./:/data pandoc/latex:3.1.13-alpine -c "pandoc --extract-media ./ -f docx -t chunkedhtml -L filter_1.lua -L filter_2.lua  --css=styling.css --css=API.css -s temp.docx -o ./API --toc --toc-depth 4 --template=template.html --split-level=1"
    - docker run --entrypoint "/bin/sh" -v ./:/data pandoc/latex:3.1.13-alpine -c "pandoc --extract-media ./ -f docx -t chunkedhtml -L filter_1.lua -L filter_2.lua  --css=styling.css --css=API.css -s temp.docx -o ./API.zip --toc --toc-depth 4 --template=template.html --split-level=1"
  artifacts:
    paths:
      - ./API
      - ./API.zip

saving_script:
  stage: build
  dependencies:
    - "chunk_html"
  before_script:
    - mkdir API
    - unzip ./API.zip /API
    - cp -r ./dist ./API
    - cd ./API
    - npm install --save puppeteer fs