ci: add upload artifacts step

This commit is contained in:
teutat3s 2022-08-24 21:24:39 +02:00
parent d98ad5fba3
commit 92747c7325
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -43,9 +43,9 @@ steps:
commands: commands:
- export TARGET_DIR="$${DRONE_REPO}/$${DRONE_BUILD_NUMBER}" - export TARGET_DIR="$${DRONE_REPO}/$${DRONE_BUILD_NUMBER}"
- echo env var TARGET_DIR is set to $$TARGET_DIR - echo env var TARGET_DIR is set to $$TARGET_DIR
- env | grep HOME
- "mkdir ~/.ssh && chmod 700 ~/.ssh" - "mkdir ~/.ssh && chmod 700 ~/.ssh"
- "echo $$PRIVATE_SSH_KEY > ~/.ssh/id_ed25519 && chmod 600 ~/.ssh/id_ed25519" - "echo $$PRIVATE_SSH_KEY > ~/.ssh/id_ed25519 && chmod 600 ~/.ssh/id_ed25519"
- ssh-add ~/.ssh/id_ed25519
- nix flake new --template "git+https://git.greenbaum.cloud/dev/tritonshell?ref=main" ./tritonshell - nix flake new --template "git+https://git.greenbaum.cloud/dev/tritonshell?ref=main" ./tritonshell
- git add tritonshell - git add tritonshell
- cd tritonshell - cd tritonshell
@ -110,6 +110,6 @@ volumes:
--- ---
kind: signature kind: signature
hmac: 9229e61bbc27bc0f8038a004c8b7b8ebcc2bfe1b8e709942313178ab9ad3c3a9 hmac: fc80339f6bf301786d9d36c4abc7960a8bb457a7c4d0c48461132f76faa80978
... ...