mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-17 06:03:20 +00:00
deploy on fdroid
This commit is contained in:
parent
f28580ba62
commit
0fc34669de
|
@ -31,15 +31,15 @@ steps:
|
|||
- nixos-container start isolated
|
||||
- eval `ssh-agent -s`
|
||||
- echo "$SSH_PRIVATE_KEY" | ssh-add -
|
||||
environment:
|
||||
SSH_PRIVATE_KEY:
|
||||
from_secret: SSH_PRIVATE_KEY
|
||||
|
||||
- name: Build Release Artifacts
|
||||
commands:
|
||||
- scp -r `pwd` isolated:/var/lib/builder
|
||||
- ssh isolated "cd src && flutter build apk --release --split-per-abi"
|
||||
- scp isolated:/var/lib/builder/src/build/app/outputs/flutter-apk/*-release.apk `pwd`
|
||||
environment:
|
||||
SSH_PRIVATE_KEY:
|
||||
from_secret: SSH_PRIVATE_KEY
|
||||
|
||||
- name: Prepare for Deploy
|
||||
commands:
|
||||
|
@ -49,9 +49,6 @@ steps:
|
|||
- name: Deploy on F-Droid Repository
|
||||
commands:
|
||||
- ls *.apk
|
||||
environment:
|
||||
SSH_PRIVATE_KEY:
|
||||
from_secret: SSH_PRIVATE_KEY
|
||||
|
||||
trigger:
|
||||
event:
|
||||
|
|
Loading…
Reference in a new issue