deploy artifacts

This commit is contained in:
Alya Sirko 2022-08-31 01:09:04 +03:00
parent 451d2c7aac
commit 844269ee4f

View file

@ -12,13 +12,13 @@ steps:
- scp -r `pwd` isolated:/var/lib/builder - scp -r `pwd` isolated:/var/lib/builder
- ssh isolated "cd src && flutter build apk --split-per-abi" - ssh isolated "cd src && flutter build apk --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`
- rename app pro.kherel.selfprivacy *.apk && rename release `git rev-parse --short HEAD` *.apk
environment: environment:
SSH_PRIVATE_KEY: SSH_PRIVATE_KEY:
from_secret: SSH_PRIVATE_KEY from_secret: SSH_PRIVATE_KEY
- name: deploy - name: deploy
commands: commands:
- rename app pro.kherel.selfprivacy *.apk && rename release `git rev-parse --short HEAD` *.apk
- ls *.apk - ls *.apk
node: node: