music: 新建 music app,替换 piano-sheet
听歌 + 练琴曲目管理: - 数据:piece (title/artist/category/lyrics/play_count/notes) + attachments (audio/video/pdf/image; image 带 role=chord/numbered/staff) - 后端 axum + sqlite,附件流式落 PVC,ServeFile 支持 Range(视频拖动) - 前端 guitar 风格 player:左 sidebar + tabs(歌词/吉他谱/简谱/五线谱/PDF/视频),LRC 同步、快捷键、笔记自动保存 - ns cube-music + music.famzheng.me + bodylimit 5GiB - scripts/import_guitar.py 用于把 oci /data/guitar/ 旧曲库导入
This commit is contained in:
@@ -1,24 +1,24 @@
|
||||
name: deploy piano-sheet
|
||||
# piano.famzheng.me — 钢琴谱管理 / 阅读。host shell runner(fam 用户)。
|
||||
name: deploy music
|
||||
# music.famzheng.me — 听歌 + 练琴 曲目管理。host shell runner(fam 用户)。
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
paths:
|
||||
- 'apps/piano-sheet/**'
|
||||
- 'apps/music/**'
|
||||
- 'crates/cube-core/**'
|
||||
- 'Cargo.toml'
|
||||
- 'Cargo.lock'
|
||||
- '.gitea/workflows/deploy-piano-sheet.yml'
|
||||
- '.gitea/workflows/deploy-music.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
APP: piano-sheet
|
||||
NS: cube-piano
|
||||
IMAGE: registry.famzheng.me/mochi/piano-sheet
|
||||
APP: music
|
||||
NS: cube-music
|
||||
IMAGE: registry.famzheng.me/mochi/music
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@@ -48,7 +48,7 @@ jobs:
|
||||
|
||||
- name: Initialize K8s resources
|
||||
run: |
|
||||
kubectl apply -f apps/piano-sheet/k8s/all.yaml
|
||||
kubectl apply -f apps/music/k8s/all.yaml
|
||||
|
||||
- name: Roll out to k3s
|
||||
run: |
|
||||
Reference in New Issue
Block a user