Commit 42b3362b authored by Ruben ten Hove's avatar Ruben ten Hove
Browse files

fix: hardcode png format

parent 78db2951
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -2,8 +2,7 @@
# You can access the resulting images by adding the
# following to a README.md:
# ![description](/../-/jobs/artifacts/master/raw/filename.png?job=docs%3Adrawio)
# Replace filename with the name of the .drawio file, and the extension
# if you changed the FORMAT variable.
# Replace filename with the name of the .drawio file.
# The ref (currently master) is hardcoded, so the README.md render will only
# show what is built on that ref.

@@ -18,9 +17,8 @@ docs:drawio:
  stage: build
  variables:
    EXTRA_ARGS: ""
    FORMAT: "png"
  script:
    - /opt/drawio-desktop/entrypoint.sh --remove-page-suffix --output . --format ${FORMAT} ${EXTRA_ARGS}
    - /opt/drawio-desktop/entrypoint.sh --remove-page-suffix --output . --format png ${EXTRA_ARGS}
  artifacts:
    paths:
      - "**/*.$FORMAT"
      - "**/*.png"