Skip to content
Snippets Groups Projects
.gitlab-ci.yml 620 B
Newer Older
Fabian Gabel's avatar
Fabian Gabel committed
# This file is a template, and might need editing before it works on your project.
# Full project: https://gitlab.com/pages/plain-html
preprocessing:
  image: 
    name: alpine:latest
  script:
    - ./preprocMd.sh
  artifacts:
    paths:
      - ./build/*


pandoc: 
  image:
    name: pandoc/latex:2.6
    entrypoint: ["/bin/sh", "-c"]
  script:
    - ./buildPandoc.sh
  artifacts:
    paths:
Fabian Gabel's avatar
Fabian Gabel committed
pages:
  stage: deploy
  script:
    - mkdir .public
    - cp -r build/* .public
Fabian Gabel's avatar
Fabian Gabel committed
    - mv .public public
  artifacts:
    paths:
      - public
  rules:
    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH