try parameter expansion
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
Patrick Michl 2022-02-17 21:08:05 +01:00
parent 933a202ab8
commit 38a2ac5e8e

View File

@ -14,9 +14,10 @@ steps:
environment: environment:
HCLOUD_TOKEN: HCLOUD_TOKEN:
from_secret: hcloud_token from_secret: hcloud_token
SERVER_ID: $server_id
commands: commands:
# - apk add openssh # - apk add openssh
- env - echo $SERVER_ID
# - ssh-keygen -t ed25519 -f /root/.ssh/id_ed25519 -q -N '' # - 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 ssh-key create --name drone --public-key-from-file /root/.ssh/id_ed25519.pub
# - ./hcloud server list # - ./hcloud server list