ci: add upload artifacts step

This commit is contained in:
teutat3s 2022-08-14 21:46:22 +02:00
parent de4c2d90cb
commit d4f649b387
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -33,11 +33,11 @@ steps:
- nix $$NIX_FLAGS develop --command echo OK
- name: "Upload artifacts"
environment:
TARGET_DIR: $${DRONE_REPO}/$${DRONE_BUILD_NUMBER}
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} \
@ -101,6 +101,6 @@ volumes:
---
kind: signature
hmac: 383931b0342f4ff5a5f239ccbfea2f0a9d852f9eec42639c940837dcea4675e7
hmac: f226b14a22ff686348fbb1f88b6759089a1a46f18a72ebd70bd7f170c262f99a
...