CI: Move to woodpecker
All checks were successful
ci/woodpecker/push/publish index Pipeline was successful
All checks were successful
ci/woodpecker/push/publish index Pipeline was successful
This commit is contained in:
parent
f3c1c2e685
commit
6a04a91df1
59
.drone.yml
59
.drone.yml
@ -1,59 +0,0 @@
|
|||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: publish index
|
|
||||||
|
|
||||||
platform:
|
|
||||||
os: linux
|
|
||||||
arch: arm64
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- 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: _list.html
|
|
||||||
target: /
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
|
|
||||||
---
|
|
||||||
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
|
|
16
.woodpecker/publish index.yaml
Normal file
16
.woodpecker/publish index.yaml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
steps:
|
||||||
|
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: _list.html
|
||||||
|
target: /
|
||||||
|
|
||||||
|
when:
|
||||||
|
event: push
|
21
.woodpecker/render.yaml
Normal file
21
.woodpecker/render.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
steps:
|
||||||
|
render:
|
||||||
|
image: jeandeaual/lilypond:stable
|
||||||
|
commands:
|
||||||
|
- lilypond -dno-point-and-click -dembed-source-code -o "${FILE%.ly}" "${FILE%.ly}.ly"
|
||||||
|
|
||||||
|
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: /
|
||||||
|
|
||||||
|
when:
|
||||||
|
event: custom
|
Loading…
Reference in New Issue
Block a user