ci: Build tauri desktop app

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2701>
environments/review-docs-v2-ov-8q6uyo/deployments/19325
Georg Krause 2024-02-02 13:27:28 +01:00 zatwierdzone przez Kasper Seweryn
rodzic 62f84a311b
commit 1ca5ea2b73
1 zmienionych plików z 16 dodań i 0 usunięć

Wyświetl plik

@ -430,6 +430,22 @@ build_api:
paths:
- api
build_desktop:
stage: build
rules:
- if: $CI_COMMIT_BRANCH =~ /(stable|develop)/
- changes: [front/**/*]
image: $CI_REGISTRY/funkwhale/ci/node-tauri:18
variables:
<<: *keep_git_files_permissions
script:
- yarn tauri build
artifacts:
name: desktop_${CI_COMMIT_REF_NAME}
paths:
- front/tauri/target/release/bundle
deploy_docs:
interruptible: false
extends: .ssh-agent