selfprivacy.org.app/.drone.yml

19 lines
467 B
YAML

kind: pipeline
type: exec
name: default
steps:
- name: build
commands:
- nix-shell --pure --run "flutter build apk --split-per-abi"
environment:
NIX_PATH: "nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:unstable=/nix/var/nix/profiles/per-user/root/channels/unstable"
NIXPKGS_ALLOW_UNFREE: 1
- name: deploy
commands:
- scp build/app/outputs/apk/release/*.apk 10.0.0.3:/var/lib/fdroid/repo
node:
server: builder