ci: Build tauri desktop app
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2701>
This commit is contained in:
parent
62f84a311b
commit
1ca5ea2b73
|
@ -430,6 +430,22 @@ build_api:
|
||||||
paths:
|
paths:
|
||||||
- api
|
- 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:
|
deploy_docs:
|
||||||
interruptible: false
|
interruptible: false
|
||||||
extends: .ssh-agent
|
extends: .ssh-agent
|
||||||
|
|
Loading…
Reference in New Issue