diff --git a/.drone.yml b/.drone.yml index de4b75b..de7fe20 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,6 +19,7 @@ steps: - apk add -U openssh - wget -O- https://github.com/hetznercloud/cli/releases/latest/download/hcloud-linux-amd64.tar.gz | tar zx - ssh-keygen -t ed25519 -f /root/.ssh/id_ed25519 -q -N '' + - ./hcloud ssh-key delete drone || true - ./hcloud ssh-key create --name drone --public-key-from-file /root/.ssh/id_ed25519.pub - ./hcloud server enable-rescue $SERVER_ID --ssh-key drone - ./hcloud server reset $SERVER_ID