Removed unnecessary escape characters

This commit is contained in:
Illia Chub 2021-12-22 07:41:51 +02:00
parent f6bf56fd41
commit ae4524ffe8

View file

@ -9,8 +9,8 @@ steps:
from_secret: HETZNER_TOKEN from_secret: HETZNER_TOKEN
commands: commands:
- > - >
curl -X POST \ curl -X POST
-H "Authorization: Bearer $HETZNER_TOKEN" -H "Authorization: Bearer $HETZNER_TOKEN"
-H "Content-Type: application/json" \ -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' 'https://api.hetzner.cloud/v1/servers'