mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-17 06:03:20 +00:00
20 lines
443 B
YAML
20 lines
443 B
YAML
kind: pipeline
|
|
type: exec
|
|
name: release
|
|
|
|
steps:
|
|
- name: build
|
|
commands:
|
|
- nixos-container stop isolated
|
|
- nixos-container start isolated
|
|
- eval `ssh-agent -s`
|
|
- echo "$SSH_PRIVATE_KEY" | ssh-add -
|
|
- scp -r `pwd` isolated:/var/lib/builder
|
|
- ssh isolated "cd src && flutter build apk --split-per-abi"
|
|
environment:
|
|
SSH_PRIVATE_KEY:
|
|
from_secret: SSH_PRIVATE_KEY
|
|
|
|
node:
|
|
server: builder
|