2022-08-27 15:18:03 +03:00
|
|
|
kind: pipeline
|
|
|
|
type: exec
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
commands:
|
2022-08-27 17:09:06 +03:00
|
|
|
- nix-shell --pure --run "flutter build apk --split-per-abi"
|
2022-08-28 00:08:28 +03:00
|
|
|
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
|
|
|
|
|
2022-08-28 00:05:13 +03:00
|
|
|
- name: deploy
|
|
|
|
commands:
|
2022-08-27 23:59:33 +03:00
|
|
|
- scp build/app/outputs/apk/release/*.apk 10.0.0.3:/var/lib/fdroid/repo
|
2022-08-28 00:05:13 +03:00
|
|
|
|
2022-08-27 21:05:12 +03:00
|
|
|
node:
|
2022-08-27 23:59:33 +03:00
|
|
|
server: builder
|