deploy on fdroid

This commit is contained in:
Alya Sirko 2022-08-31 15:45:02 +03:00
parent f28580ba62
commit 0fc34669de

View file

@ -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: