mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-17 06:03:20 +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
|
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
|
||||||
|
|
Loading…
Reference in a new issue