switch to new drone pipeline format
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
eb10a2a856
commit
98ecb8196d
26
.drone.yml
26
.drone.yml
|
@ -1,20 +1,30 @@
|
||||||
pipeline:
|
kind: pipeline
|
||||||
libreoffice:
|
name: default
|
||||||
group: build
|
|
||||||
|
steps:
|
||||||
|
- name: submodules
|
||||||
|
image: docker:git
|
||||||
|
commands:
|
||||||
|
- git submodule update --recursive --remote
|
||||||
|
|
||||||
|
- name: libreoffice
|
||||||
image: jess/libreoffice
|
image: jess/libreoffice
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache make
|
- apk add --no-cache make
|
||||||
- ./compile.sh libreoffice
|
- ./compile.sh libreoffice
|
||||||
|
|
||||||
revealjs:
|
- name: revealjs
|
||||||
group: build
|
|
||||||
image: python:3-alpine
|
image: python:3-alpine
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache make
|
- apk add --no-cache make
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- ./compile.sh revealjs
|
- ./compile.sh revealjs
|
||||||
|
|
||||||
publish:
|
- name: publish
|
||||||
group: publish
|
|
||||||
image: sbruder/drone-netlify
|
image: sbruder/drone-netlify
|
||||||
secrets: [ "netlify_key" ]
|
settings:
|
||||||
|
key:
|
||||||
|
from_secret: netlify_key
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
|
Reference in a new issue