ci: add upload artifacts step
This commit is contained in:
parent
d4f649b387
commit
dec5dfa53a
14
.drone.yml
14
.drone.yml
|
@ -33,15 +33,21 @@ steps:
|
|||
- nix $$NIX_FLAGS develop --command echo OK
|
||||
|
||||
- name: "Upload artifacts"
|
||||
environment:
|
||||
PRIVATE_SSH_KEY:
|
||||
from_secret: private_ssh_key
|
||||
MANTA_USER: pub_solar
|
||||
MANTA_URL: https://eu-central.manta.greenbaum.cloud
|
||||
MANTA_KEY_ID: "02:ae:79:2b:8f:7f:51:ba:c6:3c:ea:6f:f7:bb:d1:6a"
|
||||
commands:
|
||||
- export TARGET_DIR="$${DRONE_REPO}/$${DRONE_BUILD_NUMBER}"
|
||||
- echo env var TARGET_DIR is set to $$TARGET_DIR
|
||||
- nix flake new --template "git+https://git.greenbaum.cloud/dev/tritonshell?ref=main" ./tritonshell
|
||||
- git add tritonshell
|
||||
- cd tritonshell
|
||||
- nix develop --command triton profile set lev-1.pub.solar \
|
||||
&& mput -p -f ./result/foot_wayland_info.png ~~/public/$${DRONE_REPO}/$${DRONE_BUILD_NUMBER} \
|
||||
&& mput -p -f ./result/test-wayland.out ~~/public/$${DRONE_REPO}/$${DRONE_BUILD_NUMBER}
|
||||
- nix develop --command \
|
||||
&& mput -p -f ./result/foot_wayland_info.png ~~/public/$${TARGET_DIR} \
|
||||
&& mput -p -f ./result/test-wayland.out ~~/public/$${TARGET_DIR}
|
||||
|
||||
trigger:
|
||||
ref:
|
||||
|
@ -101,6 +107,6 @@ volumes:
|
|||
|
||||
---
|
||||
kind: signature
|
||||
hmac: f226b14a22ff686348fbb1f88b6759089a1a46f18a72ebd70bd7f170c262f99a
|
||||
hmac: 8a194e595ea431b590e08c591a5707b613d0cba7ed4ce700f9c62ef2efc343eb
|
||||
|
||||
...
|
||||
|
|
Loading…
Reference in a new issue