kind: pipeline
name: default
steps:
- name: submodules
image: docker:git
commands:
- git submodule init
- 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 pipenv
- pipenv install --system
- ./compile.sh revealjs
- name: publish
image: r.sbruder.de/drone-netlify
settings:
auth_token:
from_secret: netlify_auth_token
dir: .
prod: 1
when:
branch:
- master