feat(linux): package Linux release, deploy to server, add in-app update banner

Build task embeds GIT_HASH via --dart-define; new deploy-linux-to-server task
packages a tar.gz and updates latest.json on the server. The account list screen
shows a MaterialBanner when a newer Linux build is available.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Thomas SharedInbox
2026-05-14 23:46:29 +02:00
co-authored by Claude Sonnet 4.6
parent 99c3a1d808
commit 724df4ea37
5 changed files with 129 additions and 17 deletions
+16
View File
@@ -43,6 +43,22 @@ jobs:
- name: Build Linux
run: nix develop --no-warn-dirty --command task build-linux-release
- name: Set up SSH key
continue-on-error: true
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
run: |
mkdir -p ~/.ssh
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
- name: Deploy Linux to server
continue-on-error: true
env:
SSH_USER: ${{ secrets.SSH_USER }}
SSH_HOST: ${{ secrets.SSH_HOST }}
run: nix develop --no-warn-dirty --command task deploy-linux-to-server
deploy-playstore:
name: Build & Deploy to Play Store
runs-on: self-hosted