kind: pipeline
name: default
steps:
- name: submodules
image: docker:git
commands:
- git submodule update --recursive --remote
- name: libreoffice
image: jess/libreoffice
- apk add --no-cache make
- ./compile.sh libreoffice
- name: revealjs
image: python:3-alpine
- pip install -r requirements.txt
- ./compile.sh revealjs
- name: publish
image: sbruder/drone-netlify
settings:
key:
from_secret: netlify_key
when:
branch:
- master