image: debian:stretch

build:
  script:
  - ls -hAl *
  - apt-get update
  - apt-get install -y pandoc python3-pip
  - pip3 install MarkdownPP
  - mkdir public
  - markdown-pp index.mdpp -o public/Satzung.mkd
  - pandoc public/Satzung.mkd -f markdown -t html -s -o public/Satzung.html
  - echo "deb http://deb.debian.org/debian stretch main" > /etc/apt/sources.list
  artifacts:
    paths:
    - public