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
1c9854e83b
commit
954f4ecda9
10
.drone.yml
10
.drone.yml
|
@ -24,10 +24,6 @@ kind: pipeline
|
||||||
type: exec
|
type: exec
|
||||||
name: Release
|
name: Release
|
||||||
|
|
||||||
environment:
|
|
||||||
SSH_PRIVATE_KEY:
|
|
||||||
from_secret: SSH_PRIVATE_KEY
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Build Release Artifacts
|
- name: Build Release Artifacts
|
||||||
commands:
|
commands:
|
||||||
|
@ -43,6 +39,9 @@ steps:
|
||||||
- ssh isolated "cd src && flutter build apk --release --split-per-abi"
|
- ssh isolated "cd src && flutter build apk --release --split-per-abi"
|
||||||
# Fetch the release artifacts
|
# Fetch the release artifacts
|
||||||
- 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: Deploy on F-Droid Repository
|
- name: Deploy on F-Droid Repository
|
||||||
commands:
|
commands:
|
||||||
|
@ -52,6 +51,9 @@ steps:
|
||||||
# Rename the artifacts in a more informative way
|
# Rename the artifacts in a more informative way
|
||||||
- rename app pro.kherel.selfprivacy *.apk && rename release "$DRONE_SEMVER" *.apk
|
- rename app pro.kherel.selfprivacy *.apk && rename release "$DRONE_SEMVER" *.apk
|
||||||
- ls *.apk
|
- ls *.apk
|
||||||
|
environment:
|
||||||
|
SSH_PRIVATE_KEY:
|
||||||
|
from_secret: SSH_PRIVATE_KEY
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
|
|
Loading…
Reference in a new issue