fix environment variables

This commit is contained in:
Alya Sirko 2022-08-28 00:08:28 +03:00
parent 58b3c08b9f
commit 74b52b317b
2 changed files with 5 additions and 5 deletions

View file

@ -6,13 +6,13 @@ steps:
- name: build - name: build
commands: commands:
- nix-shell --pure --run "flutter build apk --split-per-abi" - nix-shell --pure --run "flutter build apk --split-per-abi"
- name: deploy
commands:
- scp build/app/outputs/apk/release/*.apk 10.0.0.3:/var/lib/fdroid/repo
environment: environment:
NIX_PATH: "nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:unstable=/nix/var/nix/profiles/per-user/root/channels/unstable" 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 NIXPKGS_ALLOW_UNFREE: 1
- name: deploy
commands:
- scp build/app/outputs/apk/release/*.apk 10.0.0.3:/var/lib/fdroid/repo
node: node:
server: builder server: builder