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
|
- nixos-container start isolated
|
||||||
- eval `ssh-agent -s`
|
- eval `ssh-agent -s`
|
||||||
- echo "$SSH_PRIVATE_KEY" | ssh-add -
|
- echo "$SSH_PRIVATE_KEY" | ssh-add -
|
||||||
|
environment:
|
||||||
|
SSH_PRIVATE_KEY:
|
||||||
|
from_secret: SSH_PRIVATE_KEY
|
||||||
|
|
||||||
- name: Build Release Artifacts
|
- name: Build Release Artifacts
|
||||||
commands:
|
commands:
|
||||||
- scp -r `pwd` isolated:/var/lib/builder
|
- scp -r `pwd` isolated:/var/lib/builder
|
||||||
- ssh isolated "cd src && flutter build apk --release --split-per-abi"
|
- 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`
|
- 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
|
- name: Prepare for Deploy
|
||||||
commands:
|
commands:
|
||||||
|
@ -49,9 +49,6 @@ steps:
|
||||||
- name: Deploy on F-Droid Repository
|
- name: Deploy on F-Droid Repository
|
||||||
commands:
|
commands:
|
||||||
- ls *.apk
|
- ls *.apk
|
||||||
environment:
|
|
||||||
SSH_PRIVATE_KEY:
|
|
||||||
from_secret: SSH_PRIVATE_KEY
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
|
|
Loading…
Reference in a new issue