diff --git a/.drone.yml b/.drone.yml index 4689f1a..67061ce 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,13 +3,14 @@ pipeline: image: jmccann/drone-terraform plan: true root_dir: infrastructure/create-resources + environment: + HCLOUD_TOKEN: + from_secret: serverctl_hcloud_token remote: config: access_key: from_secret: serverctl_access_key secret_key: from_secret: serverctl_secret_key - vars: - hcloud_token: - from_secret: serverctl_hcloud_token - + secrets: + hcloud_token: HCLOUD_TOKEN