diff --git a/.drone.yml b/.drone.yml index 4550f40..185b939 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,20 +1,30 @@ -pipeline: - libreoffice: - group: build +kind: pipeline +name: default + +steps: + - name: submodules + image: docker:git + commands: + - git submodule update --recursive --remote + + - name: libreoffice image: jess/libreoffice commands: - apk add --no-cache make - ./compile.sh libreoffice - revealjs: - group: build + - name: revealjs image: python:3-alpine commands: - apk add --no-cache make - pip install -r requirements.txt - ./compile.sh revealjs - publish: - group: publish + - name: publish image: sbruder/drone-netlify - secrets: [ "netlify_key" ] + settings: + key: + from_secret: netlify_key + when: + branch: + - master