From 2dcc06d8920872658a8b56814ef68cd5c78dea24 Mon Sep 17 00:00:00 2001 From: Elia el Lazkani Date: Sat, 1 Jul 2023 18:29:55 +0200 Subject: [PATCH] fix(): Adds ansible credentials to the pipeline --- .drone.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.drone.yml b/.drone.yml index 52b5203..51df037 100644 --- a/.drone.yml +++ b/.drone.yml @@ -91,6 +91,10 @@ steps: diff: true syntax_check: false extra_vars: "blog_container_tag=${DRONE_COMMIT_SHA:0:8}" + private_key: + from_secret: ansible_private_key + user: + from_secret: ansible_user environment: HCLOUD_TOKEN: from_secret: hcloud_token @@ -106,6 +110,10 @@ steps: diff: true syntax_check: false extra_vars: "blog_container_tag=${DRONE_COMMIT_SHA:0:8}" + private_key: + from_secret: ansible_private_key + user: + from_secret: ansible_user environment: HCLOUD_TOKEN: from_secret: hcloud_token