You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
743 B

image: debian/unstable
packages:
- musescore3
- musescore-general-soundfont
environment:
deploy: fs@zapashcanon.fr
sshopts: "-o StrictHostKeyChecking=no -q"
dst: /var/www/fs.zapashcanon.fr
QT_QPA_PLATFORM: offscreen
secrets:
- ec1f49cd-38dc-41d9-89f4-c3b6ecd7bcad # ssh deploy key
tasks:
- build: |
cd $GIT_REPO_NAME
mscore3 ${GIT_REPO_NAME}.mscz -o ${GIT_REPO_NAME}.pdf
mscore3 ${GIT_REPO_NAME}.mscz -o ${GIT_REPO_NAME}.ogg
mscore3 ${GIT_REPO_NAME}.mscz -o ${GIT_REPO_NAME}.mp3
- deploy: |
cd $GIT_REPO_NAME
scp $sshopts ${GIT_REPO_NAME}.pdf ${deploy}:${dst}/pdf/
scp $sshopts ${GIT_REPO_NAME}.ogg ${deploy}:${dst}/snd/
scp $sshopts ${GIT_REPO_NAME}.mp3 ${deploy}:${dst}/snd/