test ssh access

pull/110/head
Alya Sirko 2022-08-30 21:30:32 +03:00
parent 74b52b317b
commit 50788fe21c
1 changed files with 4 additions and 10 deletions

View File

@ -1,18 +1,12 @@
kind: pipeline kind: pipeline
type: exec type: exec
name: default name: debug
steps: steps:
- name: build - name: test
commands: commands:
- nix-shell --pure --run "flutter build apk --split-per-abi" - ssh-add - <<< "${SSH_PRIVATE_KEY}"
environment: - ssh isolated echo hello
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: node:
server: builder server: builder