Browse Source

add build script

master
zapashcanon 1 year ago
parent
commit
cac7f349da
Signed by: zapashcanon GPG Key ID: 8981C3C62D1D28F1
1 changed files with 22 additions and 0 deletions
  1. +22
    -0
      .build.yml

+ 22
- 0
.build.yml View File

@ -0,0 +1,22 @@
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/

Loading…
Cancel
Save