This commit is contained in:
parent
83ee7b8a5a
commit
a8a18e9c7f
32
.drone.yml
Normal file
32
.drone.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user