mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-16 21:53:17 +00:00
test ssh access
This commit is contained in:
parent
74b52b317b
commit
50788fe21c
14
.drone.yml
14
.drone.yml
|
@ -1,18 +1,12 @@
|
|||
kind: pipeline
|
||||
type: exec
|
||||
name: default
|
||||
name: debug
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
- name: test
|
||||
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
|
||||
- ssh-add - <<< "${SSH_PRIVATE_KEY}"
|
||||
- ssh isolated echo hello
|
||||
|
||||
node:
|
||||
server: builder
|
||||
|
|
Loading…
Reference in a new issue