ci: add upload artifacts step

This commit is contained in:
teutat3s 2022-08-24 21:46:24 +02:00
parent 23ef0db3bf
commit 8c14a466a4
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -44,11 +44,7 @@ steps:
- 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
- "mkdir ~/.ssh && chmod 700 ~/.ssh" - "mkdir ~/.ssh && chmod 700 ~/.ssh"
- "echo $$PRIVATE_SSH_KEY > ~/.ssh/id_ed25519 && chmod 600 ~/.ssh/id_ed25519" - "echo -n $$PRIVATE_SSH_KEY > ~/.ssh/id_ed25519 && chmod 600 ~/.ssh/id_ed25519"
- ls -alh ~/.ssh/
- cat ~/.ssh/id_ed25519
- eval "$(/run/current-system/sw/bin/ssh-agent)"
- /run/current-system/sw/bin/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
@ -113,6 +109,6 @@ volumes:
--- ---
kind: signature kind: signature
hmac: 0adc63c5cb2a1cb021de803a8a73fb783134cc5b663727ff6ab100f5d74eefab hmac: dcde993164155e5f45b39c442bf619cd1cdb9172d4671a62c94c02217af9c339
... ...