Add CI/CD
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
nemunaire 2022-02-08 08:59:17 +01:00
parent 83ee7b8a5a
commit a8a18e9c7f

32
.drone.yml Normal file
View File

@ -0,0 +1,32 @@
---
kind: pipeline
type: docker
name: render
platform:
os: linux
arch: arm64
steps:
- name: render
image: jeandeaual/lilypond:stable
user: root
commands:
- lilypond -dno-point-and-click -dembed-source-code -o "${FILE%.ly}" "${FILE%.ly}.ly"
- name: publish on s3
image: plugins/s3
settings:
endpoint: https://storage.nemunai.re
path_style: true
bucket: scores
access_key:
from_secret: s3_access_key
secret_key:
from_secret: s3_secret_key
source: "${FILE%.ly}.pdf"
target: /
trigger:
event:
- custom