diff --git a/.drone.yml b/.drone.yml index a308366..49f4c2e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,4 +15,8 @@ steps: HCLOUD_TOKEN: from_secret: hcloud_token commands: - - ./hcloud server list \ No newline at end of file + - apk add openssh + - ssh-keygen -t ed25519 -f /root/.ssh/id_ed25519 -q -N '' + - ./hcloud ssh-key create --name drone --public-key-from-file /root/.ssh/id_ed25519.pub + - ./hcloud server list + - ./hcloud ssh-key delete drone \ No newline at end of file