ReaderForSelfoss-multiplatform/.drone.yml
aminecmi a2f4eac482
Some checks failed
continuous-integration/drone/push Build is failing
Path
2022-09-13 21:38:41 +02:00

24 lines
996 B
YAML

kind: pipeline
type: docker
name: Deploy
steps:
- name: build-and-sign
image: mingc/android-build-box:latest
commands:
- ./gradlew :androidApp:assembleGithubConfigRelease -PignoreGitVersion=true -P appLoginUrl="\"URL\"" -P appLoginUsername="\"LOGIN\"" -P appLoginPassword="\"PASS\"" -P pushCache=false
- wget https://amine-louveau.fr/key
- ls -la $ANDROID_HOME/build-tools
- ls -la $ANDROID_HOME/sdk/build-tools
- $ANDROID_HOME/sdk/build-tools/version/zipalign -v 4 androidApp/build/outputs/apk/githubConfig/release/androidApp-githubConfig-release-unsigned.apk androidApp/build/outputs/apk/githubConfig/release/android-prod-released-signed.apk
- $ANDROID_HOME/sdk/build-tools/version/apksigner verify androidApp/build/outputs/apk/githubConfig/release/android-prod-released-signed.apk
environment:
YOUR_KEYSTORE_PASSWORD:
from_secret: keyPass
YOUR_KEY_ALIAS:
from_secret: keyAlias
trigger:
branch:
- drone-sigh