From ae4524ffe8b5d8dd7fb06efa5d63981d0c126bf6 Mon Sep 17 00:00:00 2001 From: Illia Chub Date: Wed, 22 Dec 2021 07:41:51 +0200 Subject: [PATCH] Removed unnecessary escape characters --- .drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2a40a4a..d10bc04 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,8 +9,8 @@ steps: from_secret: HETZNER_TOKEN commands: - > - curl -X POST \ + 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":[]"}' \ + -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":[]"}' 'https://api.hetzner.cloud/v1/servers' \ No newline at end of file