Added missing Hetzner API endpoint URL
continuous-integration/drone/push Build is failing Details

password-decoding
Illia Chub 2021-12-22 07:40:24 +02:00
parent 3188b8ff5e
commit f6bf56fd41
1 changed files with 2 additions and 1 deletions

View File

@ -12,4 +12,5 @@ steps:
curl -X POST \
-H "Authorization: Bearer $HETZNER_TOKEN"
-H "Content-Type: application/json" \
-d '{"automount":false,"datacenter":"nbg1-dc3,"firewalls":[],"image":"ubuntu-20.04","labels":{},"location":"nbg1","name":"ci-sibling","networks":[],"server_type":"cx11","ssh_keys":[],"start_after_create":true,"user_data":"#cloud-config\nruncmd:\n- [touch, /root/cloud-init-worked]\n","volumes":[]"}'
-d '{"automount":false,"datacenter":"nbg1-dc3,"firewalls":[],"image":"ubuntu-20.04","labels":{},"location":"nbg1","name":"ci-sibling","networks":[],"server_type":"cx11","ssh_keys":[],"start_after_create":true,"user_data":"#cloud-config\nruncmd:\n- [touch, /root/cloud-init-worked]\n","volumes":[]"}' \
'https://api.hetzner.cloud/v1/servers'