mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-16 21:53:17 +00:00
deploy on fdroid
This commit is contained in:
parent
954f4ecda9
commit
37c08a9db7
|
@ -39,6 +39,9 @@ steps:
|
|||
- ssh isolated "cd src && flutter build apk --release --split-per-abi"
|
||||
# Fetch the release artifacts
|
||||
- scp isolated:/var/lib/builder/src/build/app/outputs/flutter-apk/*-release.apk `pwd`
|
||||
# Rename the artifacts in a more informative way
|
||||
- rename app pro.kherel.selfprivacy *.apk && rename release "$DRONE_SEMVER" *.apk
|
||||
- ls *.apk
|
||||
environment:
|
||||
SSH_PRIVATE_KEY:
|
||||
from_secret: SSH_PRIVATE_KEY
|
||||
|
@ -48,9 +51,8 @@ steps:
|
|||
# Prepare SSH keys
|
||||
- eval `ssh-agent -s`
|
||||
- echo "$SSH_PRIVATE_KEY" | ssh-add -
|
||||
# Rename the artifacts in a more informative way
|
||||
- rename app pro.kherel.selfprivacy *.apk && rename release "$DRONE_SEMVER" *.apk
|
||||
- ls *.apk
|
||||
# Copy the artifacts to the F-Droid repository
|
||||
- scp *.apk ci:/var/lib/fdroid/unsigned
|
||||
environment:
|
||||
SSH_PRIVATE_KEY:
|
||||
from_secret: SSH_PRIVATE_KEY
|
||||
|
|
Loading…
Reference in a new issue